public bool IsUniqueCode(string code, string initialCode) { if (initialCode == code) { return(true); } return(_branchDal.IsUniqueCode(code)); }