/// <summary> /// Updates Building Manager details /// </summary> /// <param name="userId">The Id of the user</param> /// <param name="firstName">The new First Name of the Building Manager</param> /// <param name="lastName">The new Last Name of the Building Manager</param> /// <param name="dob">The new Date of Birth of the Building Manager</param> /// <param name="phone">The new Phone of the Building Manager</param> /// <returns>Returns an Interface of the Building Manager</returns> public IBuildingManager UpdateBuildingManager(string userId, string firstName, string lastName, DateTime dob, string phone) { var manager = _personRegister.UpdateBuildingManager(userId, firstName, lastName, dob, phone); return(manager); }