birbmap/Birdmap.BLL/Interfaces/IServiceService.cs

17 lines
472 B
C#
Raw Normal View History

2020-11-01 12:25:45 +01:00
using Birdmap.DAL.Entities;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Birdmap.BLL.Interfaces
{
public interface IServiceService
{
Task<int> GetServiceCountAsync();
2020-11-01 12:25:45 +01:00
Task<List<Service>> GetAllServicesAsync();
Task<Service> GetServiceAsync(int id);
Task<Service> CreateServiceAsync(Service service);
Task DeleteServiceAsync(int id);
Task UpdateServiceAsync(Service service);
}
}