public void DeleteOrganisation(int OrganisationId) => organisationRepository.Delete(OrganisationId);
// DELETE api/<controller>/5 public IHttpActionResult Delete(int id) { orgRep.Delete(id); return(StatusCode(HttpStatusCode.NoContent)); }
public async Task <Unit> Handle(DeleteOrganisationRequest deleteOrganisationRequest, CancellationToken cancellationToken) { await _organisationRepository.Delete(deleteOrganisationRequest.EndPointAssessorOrganisationId); return(Unit.Value); }