public async Task <IHttpActionResult> GetSummaryByDesignation() { try { var result = await _designationService.GetSummaryByDesignation(); return(this.JsonDataResult(result)); } catch (Exception e) { //Logger.Log(LogLevel.Error, e); return(new InternalServerErrorResult(this)); } }