public ResponseData <object> DeleteStudentUser(DeleteStudentUser deleteStudentUser) { ResponseData <object> response = new ResponseData <object>(); StudentUserFacade facade = new StudentUserFacade(); try { facade.Delete(deleteStudentUser); } catch (Exception ex) { ExceptionHandlerFactory.Factory.GetResponseExceptionHandler(response).Handle(ex); } return(response); }
public void Delete(DeleteStudentUser deletableId) { _repository.Delete(deletableId.Id); }