Esempio n. 1
0
        internal int NewCase(string caseName, DateTime startTime, decimal negoPrice, int serviceId, int empId, int clientId)
        {
            CaseM c = new CaseM();

            c.Name      = caseName;
            c.StartDate = startTime;
            c.NegPrice  = negoPrice;
            c.SubjectId = serviceId;
            c.RespEmpId = empId;
            c.ClientId  = clientId;
            return(_dbCase.NewCase(c));
        }