You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

27 lines
769 B

using CoviDok.Api.Request;
using CoviDok.BLL.User.Managers;
using CoviDok.Data.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace CoviDok.BLL.User.Handlers
{
public interface ICaseHandler
{
public Task<List<Case>> Filter(CaseFilter filter);
public Task<Case> GetCase(int id);
public Task<Case> AddCase(Case c);
public Task UpdateCase(int id, Case Case, Update update);
public Task SetCase(int id, CaseStatus status, Update message);
public bool IsAuthorized(int ID, Case c);
public List<Update> GetUpdatesForCase(int id);
public Update GetUpadte(int id);
public bool IsAssistantOfDoctor(int id, int doctorID);
}
}