よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
public async Task <BusinessResult <UserDTO> > GetById(int id) { try { var resultOperation = await _iuserModel.GetById(id); return(BusinessResult <UserDTO> .Success(resultOperation, General.OperationSucsess)); } catch (Exception ex) { return(BusinessResult <UserDTO> .Issue(null, General.OperationIssue, ex)); } }