public virtual void UpdateWorkerInfo(string password, string fName, string mName, string lName) { _db.UpdateWorkerInfo(new Worker { Id = Worker.Id, FirstName = fName, MiddleName = mName, LastName = lName, Password = password }); Worker = _db.FindWorkerById(Worker.Id); }