Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
.NET Core - sample of one of the interfaces - Welrus
using Sabio.Models.Domain.Provider;
using Sabio.Models.Requests.Appointments;
using Sabio.Models.Requests.ProviderDetails.Appointments;
using System;
using System.Collections.Generic;
using System.Text;
namespace Sabio.Services.Interfaces
{
public interface IAppointmentService
{
List<Appointment> GetLast30DaysByProviderId(int providerId);
List<int> AddBatch(List<AppointmentAddRequest> model);
Appointment Get(int id);
int Add(AppointmentAddRequest model);
List<Appointment> GetAllByProviderId(int ProviderId);
void Update(AppointmentUpdateRequest model);
void UpdateAppointmentStatus(AppointmentUpdateStatusRequest model);
void Delete(int id);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment