using Cowain.Base.IServices; using Cowain.Base.Models; using Plugin.Cowain.Driver.ViewModels; namespace Plugin.Cowain.Driver.IServices; public interface IDeviceService : IBaseService { Task> GetAllAsync(); Task<(List, int totals)> GetAllAsync(int pageIndex, int pageSize); Task AddDeviceAsync(DeviceViewModel? device); Task UpdateDeviceAsync(DeviceViewModel? device); Task DeleteDeviceAsync(int id); Task EnableDeviceAsync(int id); Task DisableDeviceAsync(int id); }