public Response <Footers> DeleteFooters(Footers footers) { try { var data = _footerRepository.DeleteFooters(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($"DeleteFooters Failed: {e.Message}\n {e.StackTrace}"); return(new Response <Footers>(false, e.Message, null)); } }