Ejemplo n.º 1
0
        public JsonResult GetPhysicalPersonAttachmentsNewerThen(int companyId, DateTime?lastUpdateTime)
        {
            PhysicalPersonAttachmentListResponse response;

            try
            {
                response = PhysicalPersonAttachmentService.GetPhysicalPersonAttachmentsNewerThen(companyId, lastUpdateTime);
            }
            catch (Exception ex)
            {
                response = null;
                Console.WriteLine(ex.Message);
            }
            return(new JsonResult(response, new Newtonsoft.Json.JsonSerializerSettings()
            {
                Formatting = Newtonsoft.Json.Formatting.Indented
            }));
        }