public LogicResult <UserDTO> Save(UserDTO entity) { try { var dto = _userBusinessLogic.Save(entity); return(LogicResult <UserDTO> .Succeed(dto)); } catch (Exception exception) { return(LogicResult <UserDTO> .Failure(exception)); } }
public LogicResult <UserDTO> Save(UserDTO entity) { try { var dto = _userBusinessLogic.Save(entity); return(LogicResult <UserDTO> .Succeed(dto)); } catch (Exception exception) { return(LogicResult <UserDTO> .Failure(exception)); } }