Beispiel #1
0
        public static void AddOperation(PetData pet, DateTime date, UserData user)
        {
            OperationRepository opRep = new OperationRepository();

            opRep.Create(new Operation
            {
                PetId         = pet.Id,
                OperationDate = date.Date,
                UserId        = user.Id
            });
        }