Ejemplo n.º 1
0
        //public Facade(IConnApsContext context)
        //{

        //}

        #endregion

        #region Person

        /// <summary>
        /// Updates the Person details
        /// </summary>
        /// <param name="firstName">The new First Name of the Person</param>
        /// <param name="lastName">The new Last Name of the Person</param>
        /// <param name="dob">The new Date of Birth of the Person</param>
        /// <param name="phone">The new Phone of the Person</param>
        /// <param name="userId">The Id of the user connected to the Person. Used to get the person</param>
        public void UpdatePerson(string firstName, string lastName, DateTime dob, string phone, string userId)
        {
            _personRegister.UpdatePerson(firstName, lastName, dob, phone, userId);
        }