Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 34 additions & 4 deletions MBDEVpro.BLL/GlobalUsings.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,34 @@
using System;
using System.Collections.Generic;
using System.Text;

global using System;
global using System.Collections.Generic;
global using System.ComponentModel;
global using System.ComponentModel.DataAnnotations;
global using System.Data;
global using System.Diagnostics.CodeAnalysis;
global using System.IO;
global using System.Linq;
global using System.Net;
global using System.Net.Http;
global using System.Net.Http.Headers;
global using System.Net.Http.Json;
global using System.Reflection;
global using System.Text;
global using System.Text.Json.Serialization;
global using System.Text.RegularExpressions;
global using System.Threading;
global using System.Threading.Tasks;
global using System.Transactions;
global using System.Web;
global using Microsoft.AspNetCore.Authentication;
global using Microsoft.AspNetCore.Hosting;
global using Microsoft.AspNetCore.Http;
global using Microsoft.AspNetCore.Mvc;
global using Microsoft.AspNetCore.Mvc.Rendering;
global using Microsoft.EntityFrameworkCore;
global using Microsoft.Extensions.Caching.Distributed;
global using Microsoft.Extensions.Caching.Memory;
global using Microsoft.Extensions.Configuration;
global using Microsoft.Extensions.Options;
global using Microsoft.Extensions.Primitives;
global using Newtonsoft.Json;
global using Serilog;
global using Azure.Core;
6 changes: 6 additions & 0 deletions MBDEVpro.BLL/MBDEVpro.BLL.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,10 @@
<ProjectReference Include="..\MBDEVpro.Transmittals\MBDEVpro.Transmittals.csproj" />
</ItemGroup>

<ItemGroup>
<Folder Include="Interfaces\" />
<Folder Include="Administration\" />
<Folder Include="Customer\" />
</ItemGroup>

</Project>
7 changes: 7 additions & 0 deletions MBDEVpro.DataModel/DbContext.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@

namespace MBDEVpro.DataModel
{
public class MBDEVproDbContext : DbContext
{
}
}
22 changes: 17 additions & 5 deletions MBDEVpro.DataModel/GlobalUsings.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
using System;
using System.Collections.Generic;
using System.Text;


global using System;
global using System.Collections.Generic;
global using System.ComponentModel.DataAnnotations;
global using System.ComponentModel.DataAnnotations.Schema;
global using System.Diagnostics.CodeAnalysis;
global using System.Linq;
global using Microsoft.AspNetCore.Http;
global using Microsoft.EntityFrameworkCore;
global using Microsoft.EntityFrameworkCore.Infrastructure;
global using Microsoft.EntityFrameworkCore.Metadata;
global using Microsoft.EntityFrameworkCore.Migrations;
global using Microsoft.Extensions.Configuration;
global using System.Text;
global using System.Threading.Tasks;
global using Microsoft.EntityFrameworkCore.ChangeTracking;
global using MBDEVpro.DataModel;
global using MBDEVpro.Common;
5 changes: 5 additions & 0 deletions MBDEVpro.DataModel/MBDEVpro.DataModel.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,9 @@
<ProjectReference Include="..\MBDEVpro.Common\MBDEVpro.Common.csproj" />
</ItemGroup>

<ItemGroup>
<Folder Include="Entities\" />
<Folder Include="NonEntities\" />
</ItemGroup>

</Project>
21 changes: 17 additions & 4 deletions MBDEVpro.Repository/GlobalUsings.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
using System;
using System.Collections.Generic;
using System.Text;

global using System;
global using System.Collections.Generic;
global using System.ComponentModel.DataAnnotations;
global using System.Data;
global using System.Linq;
global using System.Transactions;
global using Microsoft.Data.SqlClient;
global using Microsoft.EntityFrameworkCore;
global using Microsoft.Extensions.Caching.Memory;
global using MBDEVpro.Common;
//global using MBDEVpro.DataModel.Entities;
//global using MBDEVpro.DataModel.NonEntities;
global using MBDEVpro.DataModel;
//global using MBDEVpro.Repository.Interfaces;
//global using MBDEVpro.Repository.Repositories;
//global using MBDEVpro.Transmittals.ViewModels.Customer;
//global using MBDEVpro.Transmittals.ViewModels.Shared;
5 changes: 5 additions & 0 deletions MBDEVpro.Repository/MBDEVpro.Repository.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,9 @@
<ProjectReference Include="..\MBDEVpro.Transmittals\MBDEVpro.Transmittals.csproj" />
</ItemGroup>

<ItemGroup>
<Folder Include="Interfaces\" />
<Folder Include="Repositories\" />
</ItemGroup>

</Project>
38 changes: 34 additions & 4 deletions MBDEVpro.Transmittals/GlobalUsings.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,35 @@
using System;
using System.Collections.Generic;
using System.Text;

global using System;
global using System.IO;
global using System.Collections.Generic;
global using System.ComponentModel;
global using System.ComponentModel.DataAnnotations;
global using System.ComponentModel.DataAnnotations.Schema;
global using System.Diagnostics.CodeAnalysis;
global using System.Linq;
global using System.Text;
global using Microsoft.AspNetCore.Http;
global using Microsoft.AspNetCore.Mvc;
global using Microsoft.AspNetCore.Mvc.Rendering;
global using MBDEVpro.Common;
global using MBDEVpro.Common.Constants;
//global using MBDEVpro.DataModel.Entities;
//global using MBDEVpro.DataModel.NonEntities;
//global using MBDEVpro.Transmittals.Models;
//global using MBDEVpro.Transmittals.Models.Address;
//global using MBDEVpro.Transmittals.Models.Incident;
//global using MBDEVpro.Transmittals.Models.InspectionTypes;
//global using MBDEVpro.Transmittals.ViewModels.Address;
//global using MBDEVpro.Transmittals.ViewModels.Administration;
//global using MBDEVpro.Transmittals.ViewModels.AdministrativeSettings;
//global using MBDEVpro.Transmittals.ViewModels.Business;
//global using MBDEVpro.Transmittals.ViewModels.DeviceType;
//global using MBDEVpro.Transmittals.ViewModels.Incident;
//global using MBDEVpro.Transmittals.ViewModels.Inspection;
//global using MBDEVpro.Transmittals.ViewModels.InspectionType;
//global using MBDEVpro.Transmittals.ViewModels.Inspector;
//global using MBDEVpro.Transmittals.ViewModels.Inventory;
//global using MBDEVpro.Transmittals.ViewModels.LogOn;
//global using MBDEVpro.Transmittals.ViewModels.Shared;
//global using MBDEVpro.Transmittals.ViewModels.Supervisor;
//global using MBDEVpro.Transmittals.ViewModels.User;

9 changes: 9 additions & 0 deletions MBDEVpro.Transmittals/MBDEVpro.Transmittals.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,13 @@
<ProjectReference Include="..\MBDEVpro.DataModel\MBDEVpro.DataModel.csproj" />
</ItemGroup>

<ItemGroup>
<Folder Include="ViewModels\Customer\" />
<Folder Include="ViewModels\Administration\" />
<Folder Include="ViewModels\Business\" />
<Folder Include="ViewModels\Supervisor\" />
<Folder Include="ViewModels\User\" />
<Folder Include="ViewModels\Shared\" />
</ItemGroup>

</Project>
84 changes: 81 additions & 3 deletions MBDEVpro.UI/GlobalUsings.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,81 @@
using System;
using System.Collections.Generic;
using System.Text;
global using System;
global using System.Collections.Generic;
global using System.ComponentModel.DataAnnotations;
global using System.Data;
global using System.Diagnostics;
global using System.IO;
global using System.Linq;
global using System.Reflection;
global using System.Runtime.InteropServices;
global using System.Security.Claims;
global using System.Text;
global using System.Threading.Tasks;
global using System.Web;
global using Microsoft.AspNetCore;
global using Microsoft.AspNetCore.Authentication;
global using Microsoft.AspNetCore.Authentication.Cookies;
global using Microsoft.AspNetCore.Authorization;
global using Microsoft.AspNetCore.Builder;
global using Microsoft.AspNetCore.DataProtection;
global using Microsoft.AspNetCore.Hosting;
global using Microsoft.AspNetCore.Http;
global using Microsoft.AspNetCore.Identity;
global using Microsoft.AspNetCore.Mvc;
global using Microsoft.AspNetCore.Mvc.Controllers;
global using Microsoft.AspNetCore.Mvc.Filters;
global using Microsoft.AspNetCore.Mvc.Rendering;
global using Microsoft.AspNetCore.Routing;
global using Microsoft.CodeAnalysis;
global using Microsoft.EntityFrameworkCore;
global using Microsoft.EntityFrameworkCore.Infrastructure;
global using Microsoft.Extensions.Caching.Distributed;
global using Microsoft.Extensions.Caching.Memory;
global using Microsoft.Extensions.Configuration;
global using Microsoft.Extensions.DependencyInjection;
global using Microsoft.Extensions.Hosting;
global using Microsoft.Extensions.Options;
global using Newtonsoft.Json;
//global using MBDEVpro.BLL.Administration;
//global using MBDEVpro.BLL.Business;
//global using MBDEVpro.BLL.Customer;
//global using MBDEVpro.BLL.Common;
//global using MBDEVpro.BLL.Dashboard;
//global using MBDEVpro.BLL.FAQ;
//global using MBDEVpro.BLL.Helpers;
//global using MBDEVpro.BLL.Inspector;
//global using MBDEVpro.BLL.Interfaces;
//global using MBDEVpro.BLL.PasswordValidation;
//global using MBDEVpro.BLL.Supervisor;
//global using MBDEVpro.BLL.UserAuthentication;
//global using MBDEVpro.BLL.ViewModels.Address;
global using MBDEVpro.Common;
global using MBDEVpro.Common.Constants;
global using MBDEVpro.Common.Helper;
//global using MBDEVpro.DataModel.NonEntities;
//global using MBDEVpro.Repository.Helper;
//global using MBDEVpro.Repository.Interfaces;
//global using MBDEVpro.Repository.Repositories;
global using MBDEVpro.Transmittals;
//global using MBDEVpro.Transmittals.Models;
//global using MBDEVpro.Transmittals.Models.Address;
//global using MBDEVpro.Transmittals.Models.UserAuth;
//global using MBDEVpro.Transmittals.ViewModels;
//global using MBDEVpro.Transmittals.ViewModels.Administration;
//global using MBDEVpro.Transmittals.ViewModels.Business;
//global using MBDEVpro.Transmittals.ViewModels.Customer;
//global using MBDEVpro.Transmittals.ViewModels.Shared;
//global using MBDEVpro.Transmittals.ViewModels.Supervisor;
//global using MBDEVpro.Transmittals.ViewModels.User;
global using MBDEVpro.UI.Controllers;
//global using MBDEVpro.UI.Helpers;
//global using MBDEVpro.UI.SiteMap;
//global using MBDEVpro.UI.ViewModels;
global using Serilog;
global using X.PagedList;
//global using static MBDEVpro.Repository.Helper.APPSettings;
//global using MBDEVpro.UI.Services;
global using System.Xml.Linq;
global using static System.Collections.Specialized.BitVector32;
global using Microsoft.Extensions.Logging;
global using System.Net.Http;
global using System.Net.Http.Headers;