public ActionResult Send(GenericModel <ExamFieldMappingDetailModel> viewModel)
        {
            try
            {
                var success = ExamFieldMappingDetailProvider.Save(Helpers.GetAuthenticator(), viewModel.Data);

                viewModel.ResultMessage = !success ? Resources.UnsuccesfullySaved : Resources.SuccesfullySaved;
            }
            catch (Exception ex)
            {
                viewModel.ErrorMessage = ex.GetBaseException().Message;
            }
            return(View("Index", viewModel));
        }
        public ActionResult Delete(string id)
        {
            var viewModel = new GenericModel <ExamFieldMappingDetailModel>();

            try
            {
                var success = ExamFieldMappingDetailProvider.Delete(Helpers.GetAuthenticator(), id);

                viewModel.ResultMessage = !success ? Resources.UnsuccesfullyDeleted : Resources.SuccesfullyDeleted;
            }
            catch (Exception ex)
            {
                viewModel.ErrorMessage = ex.GetBaseException().Message;
            }

            return(View("Index", viewModel));
        }