Pinned Loading
-
-
-
IRepository
IRepository 1public interface IRepository<T> where T : class
2{ /// <summary>
3/// Tüm nesneleri al
4/// </summary>
5/// <returns></returns>
-
Repository
Repository 1public class Repository<T> : IRepository<T> where T : class
2{
3private CrmMsContext _context = null;
4private DbSet<T> dbSet;
5public Repository(CrmMsContext context)
-
Create your random color
Create your random color 1function () {
2var letters = '0123456789ABCDEF';
3var color = '#';
4for (var i = 0; i < 6; i++) {
5color += letters[Math.floor(Math.random() * 16)];
-
Create your guid id
Create your guid id 1function () {
2function s4() {
3return Math.floor((1 + Math.random()) * 0x10000)
4.toString(16)
5.substring(1);
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.