Ejemplo n.º 1
0
 public JsonResult GetTimeSheetsForInvoicing(int associateId)
 {
     try
     {
         var timesheets = timesheetService.GetTimeSheetsForInvoicing(associateId);
         return(this.Json(timesheets));
     }
     catch (Exception ex)
     {
         return(this.Json(ex));
     }
 }
Ejemplo n.º 2
0
        public JsonResult GetTimeSheetsForInvoicing()
        {
            int associateId = this.AssociateVerifiedDetails().AssociateId;

            try
            {
                var timesheets = timesheetService.GetTimeSheetsForInvoicing(associateId);
                return(this.Json(timesheets));
            }
            catch (Exception ex)
            {
                return(this.Json(ex));
            }
        }