Skip to content

Personal portfolio website made using ASP.NET Core 7 and ReactJS

Notifications You must be signed in to change notification settings

Amine10565/BrandonOchiaDotCom_ASP.NET_Core_7_and_ReactJS

 
 

Repository files navigation

BrandonOchiaDotCom

To Do

/// public IEnumerable Find(Expression<Func<TEntity, bool>> predicate, string[] includeProperties = null) { if (includeProperties != null && includeProperties.Any()) { var query = this.dbSet.Where(predicate).AsQueryable();

    foreach (string include in includeProperties)
    {
        query = query.Include(include);
    }

    return query.ToList();
}

return this.dbSet.Where(predicate).ToList();

}

/// public IQueryable GetAll(bool includeDeleted = false) { IQueryable entities = null;

if (includeDeleted)
{
    entities = deliveryContext.BriefWorkflows;
}
else
{
    entities = deliveryContext.BriefWorkflows.Where(x => x.IsDeleted == false);
}

return entities;

}

/// public DeliveryTemplateType GetByID(int id, bool includeDeleted = false) { if (id <= 0) { LogAndThrowArgumentException(nameof(id), "GetByID - id must be greater than 0."); }

return GetAll(includeDeleted).FirstOrDefault(x => x.ID == id);

}

About

Personal portfolio website made using ASP.NET Core 7 and ReactJS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 56.6%
  • JavaScript 37.9%
  • HTML 3.2%
  • CSS 2.3%