Example #1
0
        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));
            }
        }