常用方法
常用方法
常用方法
常用方法
public async Task <IHttpActionResult> PostRequest(TimesheetRequestDTO request) { try { var result = await _timesheetService.AddRequest(request); return(this.JsonDataResult(result)); } catch (Exception e) { //Logger.Log(LogLevel.Error, e); return(new InternalServerErrorResult(this)); } }