public void Update(Models.Contracts.Contract c) { var type = c.ContractType; var t = new ContractType() { Id = type.Id, Title = type.Title }; typerepo.Update(t); repo.Update(c); }
public void Delete(Models.Contracts.Contract c) { throw new NotImplementedException(); }
public Models.Contracts.Contract Add(Models.Contracts.Contract c) { return(repo.Add(c)); }