internal Job Edit(Job updated) { var data = GetById(updated.Id); updated.Description = updated.Description != null ? updated.Description : data.Description; updated.Contact = updated.Contact != null && updated.Contact.Length > 2 ? updated.Contact : data.Contact; return(_repo.Edit(updated)); }