birbmap/Birdmap.BLL/Interfaces/IServiceService.cs
kunkliricsi 8979ad6db3 Added dashboard services
Added GetCount endpoint
Added ServiceInfo Skeletons
2020-11-19 20:43:01 +01:00

17 lines
472 B
C#

using Birdmap.DAL.Entities;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Birdmap.BLL.Interfaces
{
public interface IServiceService
{
Task<int> GetServiceCountAsync();
Task<List<Service>> GetAllServicesAsync();
Task<Service> GetServiceAsync(int id);
Task<Service> CreateServiceAsync(Service service);
Task DeleteServiceAsync(int id);
Task UpdateServiceAsync(Service service);
}
}