public void ServiceCreateCompany() { bool result = services.CreateCompany("Father", 100); Assert.IsTrue(result); }
public ActionResult Create(string name, int EstimatedEarnings, int fatherCompanyId = 0) { companyServices.CreateCompany(name, EstimatedEarnings, companyServices.FindCompany(fatherCompanyId)); return(new HttpStatusCodeResult(201)); }