23 lines
516 B
C#
23 lines
516 B
C#
using InSituLaboratory.Entities;
|
|
using InSituLaboratory.IService;
|
|
using Microsoft.EntityFrameworkCore;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace InSituLaboratory.Service
|
|
{
|
|
public class DeviceService : BaseService, IDeviceSvice
|
|
{
|
|
public DeviceService(DbContext context) : base(context) { }
|
|
|
|
|
|
public IEnumerable<SysDevice> GetDevices()
|
|
{
|
|
return this.Set<SysDevice>();
|
|
}
|
|
}
|
|
}
|