コード例 #1
0
        public async Task <IResult> Delete(Clinic clinic)
        {
            await _clinicDal.Delete(clinic);

            return(new SuccessResult(Messages.ClinicDeleted));
        }
コード例 #2
0
 public IResult Delete(Clinic clinic)
 {
     _clinicDal.Delete(clinic);
     return(new SuccesResult(Messages.ClinicDeleted));
 }