public bool UpdateApplicationForm(int?id, GetApplicationFormDetail_Result applicationFormDetail)
        {
            try
            {
                var obj = JsonConvert.SerializeObject
                              (new GetApplicationFormDetail_Result
                {
                    AppFormGroupId    = applicationFormDetail.AppFormGroupId,
                    AppFormGroupLabel = applicationFormDetail.AppFormGroupLabel,
                    AppFormFieldId    = applicationFormDetail.AppFormFieldId,
                    FieldName         = applicationFormDetail.FieldName,
                    Value             = applicationFormDetail.Value,
                    UserId            = applicationFormDetail.UserId,
                    TokenId           = applicationFormDetail.TokenId,
                });


                var FormObj = obj.ToString();

                var JsonObj = db.UpdateApplicationForm(id, FormObj);

                return(true);
            }
            catch (Exception ex)
            {
                Console.WriteLine("NotImplementedException", ex);
                return(false);
            }
            throw new NotImplementedException();
        }
        public IHttpActionResult UpdateApplicationForm(GetApplicationFormDetail_Result appFormDetail)
        {
            var isUpdate = stdadmfrmService.UpdateApplicationForm(appFormDetail.UniversityId, appFormDetail);

            if (isUpdate == true)
            {
                return(Ok());
            }
            return(BadRequest());
        }