public async Task <int> AddMOM(MOM mom) { db.MOMs.Add(mom); int result = await db.SaveChangesAsync(); return(result); }
public async Task <int> AddTeaser(Teaser Teaser) { db.Teasers.Add(Teaser); int result = await db.SaveChangesAsync(); return(result); }
public async Task <int> AddQueryRefDocument(QueryRefDocument queryrefdocument) { db.QueryRefDocuments.Add(queryrefdocument); int result = await db.SaveChangesAsync(); return(result); }
public async Task <int> AddPromoter(Promoter Promoter) { db.Promoters.Add(Promoter); int result = await db.SaveChangesAsync(); return(result); }
public async Task <int> AddLender(Lender Lender) { db.Lenders.Add(Lender); int result = await db.SaveChangesAsync(); return(result); }
public async Task <int> AddCostBreakup(CostBreakup CostBreakup) { db.CostBreakups.Add(CostBreakup); int result = await db.SaveChangesAsync(); return(result); }
public async Task <int> AddReply(Reply reply) { db.Replies.Add(reply); int result = await db.SaveChangesAsync(); return(result); }
public async Task <int> AddClientDetail(ClientDetail clientdetail) { db.ClientDetails.Add(clientdetail); int result = await db.SaveChangesAsync(); return(result); }
public async virtual Task <int> Insert(TEntity entity) { dbSet.Add(entity); int result = await contextdb.SaveChangesAsync(); return(result); }
public async Task <int> AddAuthorisedPerson(AuthorisedPerson AuthorisedPerson) { db.AuthorisedPersons.Add(AuthorisedPerson); int result = await db.SaveChangesAsync(); return(result); }
public async Task <int> AddAgency(Agency agency) { db.Agencys.Add(agency); int result = await db.SaveChangesAsync(); return(result); }
public async Task <int> AddDirector(Director Director) { db.Directors.Add(Director); int result = await db.SaveChangesAsync(); return(result); }
public async Task <int> AddStrategyProposal(StrategyProposal StrategyProposal) { db.StrategyProposals.Add(StrategyProposal); int result = await db.SaveChangesAsync(); return(result); }
public async Task <int> AddMasterDocument(DocumentMaster documentmaster) { db.DocumentMaster.Add(documentmaster); int result = await db.SaveChangesAsync(); return(result); }
public async Task <int> AddShareholder(Shareholder Shareholder) { db.Shareholders.Add(Shareholder); int result = await db.SaveChangesAsync(); return(result); }
public async Task <int> AddQuery(Query query) { db.Queries.Add(query); await db.SaveChangesAsync(); int insertedqueryid = query.QueryId; return(insertedqueryid); }
public async Task <int> AddCompany(Company company) { db.Companys.Add(company); await db.SaveChangesAsync(); int insertedcompanyid = company.CompanyId; return(insertedcompanyid); }
public async Task <int> AddProject(Project project) { db.Projects.Add(project); await db.SaveChangesAsync(); int insertedprojectid = project.ProjectId; return(insertedprojectid); }
public async Task <int> AddProjectActivityPlan(ProjectActivityPlan projectactivityplan) { db.ProjectActivityPlans.Add(projectactivityplan); await db.SaveChangesAsync(); int insertedProjectPlanid = projectactivityplan.ProjectActivityPlanID; return(insertedProjectPlanid); }
public async Task <int> AddCustomer(Customer customer) { db.Customers.Add(customer); await db.SaveChangesAsync(); int insertedcustomerid = customer.CustomerId; return(insertedcustomerid); }
public async Task <int> AddDocument(Document document) { db.Documents.Add(document); await db.SaveChangesAsync(); int insertedDocumentid = document.DocumentID; return(insertedDocumentid); }
public async Task <int> AddGroup(Group group) { db.Groups.Add(group); await db.SaveChangesAsync(); int insertedgroupid = group.GroupId; return(insertedgroupid); }
public async Task <int> AdTaskTrackers(TaskTracker tasktracker) { db.TaskTrackers.Add(tasktracker); await db.SaveChangesAsync(); int insertedTaskTrackerid = tasktracker.TaskTrackerID; return(insertedTaskTrackerid); }
public async Task <int> AddMail(Mail mail) { db.Mails.Add(mail); int result = await db.SaveChangesAsync(); return(result); }
public async Task <int> AddActivity(ActivityTemplate activities) { db.ActivityTemplates.Add(activities); await db.SaveChangesAsync(); int insertedActivitiesid = activities.ActivityID; return(insertedActivitiesid); }