using DMS.Core.Models; using System.Collections.Generic; using System.Threading.Tasks; namespace DMS.Infrastructure.Interfaces { public interface IDeviceRepository { Task AddAsync(Device model); Task UpdateAsync(Device model); Task DeleteAsync(Device model); Task> GetAllAsync(); Task GetByIdAsync(int id); } }