Пример #1
0
        public static string SaveCompany(DbCompany co)
        {
            var dbCompany = new DbCompany(
                co.ID, Home.AppUser.ID, co.CompanyName, co.CompanyAddress, co.CompanyCity, co.CompanyPIN, co.CompanyPhone, co.CompanyFax, co.CompanyEmail, co.CompanyIBAN
                );

            var res = dbCompany.Save();

            return(res ? "OK" : "Error on saving company!");
        }