Skip to content

Instantly share code, notes, and snippets.

@salasrob
Created October 14, 2021 01:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save salasrob/97aa49e88f9334bffc8fcac2b0b399ef to your computer and use it in GitHub Desktop.
Save salasrob/97aa49e88f9334bffc8fcac2b0b399ef to your computer and use it in GitHub Desktop.
.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