public bool AddCompanyRelatioship(JoinCompanyStockExchange join_cse) { try { context.JoinCompanyStockExchange.Add(join_cse); int updates = context.SaveChanges(); if (updates > 0) { return(true); } return(false); } catch (Exception) { return(false); } }
public bool Delete(JoinCompanyStockExchange jcse) { return(repository.Delete(jcse)); }
public bool Add(JoinCompanyStockExchange joinCompanyStockExchange) { return(repository.Add(joinCompanyStockExchange)); }
public bool AddRelationshipWithCompany(JoinCompanyStockExchange join_cse) { return(repository.AddCompanyRelatioship(join_cse)); }