/// <summary> /// API to delete an organisation by super admin /// </summary> /// <param name="admin"></param> /// <returns></returns> public IHttpActionResult GetDeleteOrganisation(string organisation) { _Logger.Info("PostDeleteOrganisation API called."); try { bool Check = _BusinessOperations.DeleteOrganisation(organisation); if (Check == true) { return(Ok()); } else { return(InternalServerError()); } } catch (Exception ex) { _Logger.Fatal(ex.ToString()); return(InternalServerError(ex)); } }