public Response <Footers> UpdateFooters(Footers footers) { try { var data = _footerRepository.UpdateFooters(footers); if (data != null && data.Any()) { return(new Response <Footers>(true, "Success", data[0])); } return(new Response <Footers>(false, "Fail", null)); } catch (Exception e) { _logger.Error($"UpdateFooters Failed: {e.Message}\n {e.StackTrace}"); return(new Response <Footers>(false, e.Message, null)); } }