public ActionResult <OrganizationMaster> AddOrganization([FromBody] OrganizationMaster organizationMaster)
        {
            if (!ModelState.IsValid)
            {
                return(BadRequest(ModelState));
            }

            var addedOrganization = _organizationRepository.AddDocument(organizationMaster).GetAwaiter().GetResult();

            return(Ok(addedOrganization));
        }
Exemplo n.º 2
0
 protected void Page_UnLoad(object sender, EventArgs e)
 {
     objCommonClass        = null;
     objOrganizationMaster = null;
 }