public JsonResult DeleteBranchResourceFile(BranchResourceFileModel vm)
 {
     return Json(new GenericResponse(false, "This feature is not supported"));
 }
        public async Task<JsonResult> EditBranchResourceFile(BranchResourceFileModel vm)
        {
            try
            {
                var bresFile = vm.ToBranchResourceFile();
                await _translationService.UpdateBranchResourceFileAsync(bresFile);
            }
            catch (Exception ex)
            {
                Trace.TraceError(ex.ToString());
                return Json(new GenericResponse(false, ex.Message));
            }

            return Json(new GenericResponse(true, AppResources.GenericSaveSuccess));
        }