Пример #1
0
        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);
        }
Пример #2
0
 public void Delete(DeleteStudentUser deletableId)
 {
     _repository.Delete(deletableId.Id);
 }