public async Task <IResult> Delete(Clinic clinic) { await _clinicDal.Delete(clinic); return(new SuccessResult(Messages.ClinicDeleted)); }
public IResult Delete(Clinic clinic) { _clinicDal.Delete(clinic); return(new SuccesResult(Messages.ClinicDeleted)); }