if (!EmployeeExists(emp.EmployeeId)) { return NotFound(); }
bool CheckIfEntityExistsByEntityId(Expression<Func<T, bool>> expr); public bool CheckIfEntityExistsByEntityId<T>(Expression<Func<T, bool>> expr) { return dbSet.Any(u => expr); }
public bool CheckIfEntityExistsByEntityId<T>(Expression<Func<T, bool>> expr)
public bool CheckIfEntityExistsByEntityId(Expression<Func<T, bool>> expr)
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)