1
0
mirror of https://github.com/bitwarden/server.git synced 2025-02-01 23:31:41 +01:00

move domains to Models.Table

This commit is contained in:
Kyle Spearrin 2017-03-08 21:45:08 -05:00
parent 985435b696
commit bd0c960e9f
81 changed files with 81 additions and 81 deletions

View File

@ -6,7 +6,7 @@ using Bit.Api.Models;
using Bit.Core.Exceptions;
using Bit.Core.Services;
using Microsoft.AspNetCore.Identity;
using Bit.Core.Domains;
using Bit.Core.Models.Table;
using Bit.Core.Enums;
using System.Linq;
using Bit.Core.Repositories;

View File

@ -7,7 +7,7 @@ using Bit.Core.Repositories;
using Microsoft.AspNetCore.Authorization;
using Bit.Api.Models;
using Bit.Core.Exceptions;
using Bit.Core.Domains;
using Bit.Core.Models.Table;
using Microsoft.AspNetCore.Identity;
using Bit.Core.Services;

View File

@ -7,7 +7,7 @@ using Bit.Core.Repositories;
using Microsoft.AspNetCore.Authorization;
using Bit.Api.Models;
using Bit.Core.Exceptions;
using Bit.Core.Domains;
using Bit.Core.Models.Table;
using Microsoft.AspNetCore.Identity;
using Bit.Core.Services;

View File

@ -7,7 +7,7 @@ using Bit.Core.Repositories;
using Microsoft.AspNetCore.Authorization;
using Bit.Api.Models;
using Bit.Core.Exceptions;
using Bit.Core.Domains;
using Bit.Core.Models.Table;
using Bit.Core.Services;
namespace Bit.Api.Controllers

View File

@ -2,7 +2,7 @@
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Bit.Core.Domains;
using Bit.Core.Models.Table;
using Bit.Core.Repositories;
using IdentityServer4.Models;
using IdentityServer4.Stores;

View File

@ -1,5 +1,5 @@
using Bit.Api.Models.Response;
using Bit.Core.Domains;
using Bit.Core.Models.Table;
using Bit.Core.Enums;
using Bit.Core.Identity;
using Bit.Core.Repositories;

View File

@ -1,5 +1,5 @@
using System;
using Bit.Core.Domains;
using Bit.Core.Models.Table;
using Newtonsoft.Json;
namespace Bit.Api.Models

View File

@ -1,5 +1,5 @@
using System;
using Bit.Core.Domains;
using Bit.Core.Models.Table;
using Newtonsoft.Json;
namespace Bit.Api.Models

View File

@ -1,4 +1,4 @@
using Bit.Core.Domains;
using Bit.Core.Models.Table;
using System.ComponentModel.DataAnnotations;
namespace Bit.Api.Models

View File

@ -1,5 +1,5 @@
using System.ComponentModel.DataAnnotations;
using Bit.Core.Domains;
using Bit.Core.Models.Table;
namespace Bit.Api.Models
{

View File

@ -1,5 +1,5 @@
using System.ComponentModel.DataAnnotations;
using Bit.Core.Domains;
using Bit.Core.Models.Table;
namespace Bit.Api.Models
{

View File

@ -1,7 +1,7 @@
using System;
using System.ComponentModel.DataAnnotations;
using Bit.Api.Utilities;
using Bit.Core.Domains;
using Bit.Core.Models.Table;
using Bit.Core.Enums;
using Newtonsoft.Json;

View File

@ -1,6 +1,6 @@
using System;
using System.ComponentModel.DataAnnotations;
using Bit.Core.Domains;
using Bit.Core.Models.Table;
using Bit.Core.Enums;
using Newtonsoft.Json;

View File

@ -1,7 +1,7 @@
using System;
using System.ComponentModel.DataAnnotations;
using Bit.Api.Utilities;
using Bit.Core.Domains;
using Bit.Core.Models.Table;
using Newtonsoft.Json;
namespace Bit.Api.Models

View File

@ -1,7 +1,7 @@
using System;
using System.ComponentModel.DataAnnotations;
using Bit.Api.Utilities;
using Bit.Core.Domains;
using Bit.Core.Models.Table;
using Newtonsoft.Json;
namespace Bit.Api.Models

View File

@ -1,4 +1,4 @@
using Bit.Core.Domains;
using Bit.Core.Models.Table;
using Bit.Core.Enums;
using Bit.Core.Models.Business;
using System;

View File

@ -1,4 +1,4 @@
using Bit.Core.Domains;
using Bit.Core.Models.Table;
namespace Bit.Api.Models
{

View File

@ -1,4 +1,4 @@
using Bit.Core.Domains;
using Bit.Core.Models.Table;
namespace Bit.Api.Models
{

View File

@ -1,7 +1,7 @@
using System;
using System.ComponentModel.DataAnnotations;
using Bit.Api.Utilities;
using Bit.Core.Domains;
using Bit.Core.Models.Table;
using Newtonsoft.Json;
namespace Bit.Api.Models

View File

@ -1,4 +1,4 @@
using Bit.Core.Domains;
using Bit.Core.Models.Table;
using System.Collections.Generic;
using Bit.Core.Enums;
using Newtonsoft.Json;

View File

@ -1,5 +1,5 @@
using System;
using Bit.Core.Domains;
using Bit.Core.Models.Table;
namespace Bit.Api.Models
{

View File

@ -1,7 +1,7 @@
using System;
using System.Collections.Generic;
using System.Linq;
using Bit.Core.Domains;
using Bit.Core.Models.Table;
namespace Bit.Api.Models
{

View File

@ -1,5 +1,5 @@
using System;
using Bit.Core.Domains;
using Bit.Core.Models.Table;
namespace Bit.Api.Models
{

View File

@ -1,5 +1,5 @@
using System;
using Bit.Core.Domains;
using Bit.Core.Models.Table;
using Bit.Core.Enums;
namespace Bit.Api.Models

View File

@ -1,5 +1,5 @@
using System;
using Bit.Core.Domains;
using Bit.Core.Models.Table;
using System.Collections.Generic;
using Newtonsoft.Json;
using Bit.Core.Enums;

View File

@ -1,5 +1,5 @@
using System;
using Bit.Core.Domains;
using Bit.Core.Models.Table;
namespace Bit.Api.Models
{

View File

@ -1,5 +1,5 @@
using System;
using Bit.Core.Domains;
using Bit.Core.Models.Table;
namespace Bit.Api.Models
{

View File

@ -1,5 +1,5 @@
using System;
using Bit.Core.Domains;
using Bit.Core.Models.Table;
namespace Bit.Api.Models
{

View File

@ -1,5 +1,5 @@
using System;
using Bit.Core.Domains;
using Bit.Core.Models.Table;
namespace Bit.Api.Models
{

View File

@ -1,5 +1,5 @@
using System;
using Bit.Core.Domains;
using Bit.Core.Models.Table;
using System.Collections.Generic;
using System.Linq;
using Bit.Core.Models.Data;

View File

@ -1,5 +1,5 @@
using System;
using Bit.Core.Domains;
using Bit.Core.Models.Table;
namespace Bit.Api.Models
{

View File

@ -1,5 +1,5 @@
using System;
using Bit.Core.Domains;
using Bit.Core.Models.Table;
using Bit.Core.Enums;
namespace Bit.Api.Models

View File

@ -1,5 +1,5 @@
using System;
using Bit.Core.Domains;
using Bit.Core.Models.Table;
using Bit.Core.Enums;
namespace Bit.Api.Models

View File

@ -11,7 +11,7 @@ using Microsoft.Extensions.Options;
using Microsoft.IdentityModel.Tokens;
using Bit.Api.Utilities;
using Bit.Core;
using Bit.Core.Domains;
using Bit.Core.Models.Table;
using Bit.Core.Identity;
using Bit.Core.Repositories;
using Bit.Core.Services;

View File

@ -2,7 +2,7 @@
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Bit.Core.Domains;
using Bit.Core.Models.Table;
namespace Bit.Core
{

View File

@ -1,7 +1,7 @@
using System;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Identity;
using Bit.Core.Domains;
using Bit.Core.Models.Table;
using Bit.Core.Enums;
using OtpNet;

View File

@ -2,7 +2,7 @@
using Microsoft.AspNetCore.Identity;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection.Extensions;
using Bit.Core.Domains;
using Bit.Core.Models.Table;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Http;

View File

@ -6,7 +6,7 @@ using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Identity;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using Bit.Core.Domains;
using Bit.Core.Models.Table;
using Microsoft.AspNetCore.Builder;
using Microsoft.IdentityModel.Tokens;
using Bit.Core.Repositories;

View File

@ -1,4 +1,4 @@
using Bit.Core.Domains;
using Bit.Core.Models.Table;
namespace Bit.Core.Identity
{

View File

@ -2,7 +2,7 @@
using System.Threading;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Identity;
using Bit.Core.Domains;
using Bit.Core.Models.Table;
namespace Bit.Core.Identity
{

View File

@ -5,7 +5,7 @@ using System.Security.Claims;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Identity;
using Bit.Core.Domains;
using Bit.Core.Models.Table;
using Bit.Core.Repositories;
using Bit.Core.Services;

View File

@ -1,4 +1,4 @@
using Bit.Core.Domains;
using Bit.Core.Models.Table;
using System;
namespace Bit.Core.Models.Business

View File

@ -1,7 +1,7 @@
using System;
using Bit.Core.Utilities;
namespace Bit.Core.Domains
namespace Bit.Core.Models.Table
{
public class Cipher : IDataObject<Guid>
{

View File

@ -1,7 +1,7 @@
using System;
using Bit.Core.Utilities;
namespace Bit.Core.Domains
namespace Bit.Core.Models.Table
{
public class Device : IDataObject<Guid>
{

View File

@ -1,6 +1,6 @@
using System;
namespace Bit.Core.Domains
namespace Bit.Core.Models.Table
{
public class Grant
{

View File

@ -2,7 +2,7 @@
using Bit.Core.Utilities;
using Bit.Core.Enums;
namespace Bit.Core.Domains
namespace Bit.Core.Models.Table
{
public class Organization : IDataObject<Guid>
{

View File

@ -2,7 +2,7 @@
using Bit.Core.Utilities;
using Bit.Core.Enums;
namespace Bit.Core.Domains
namespace Bit.Core.Models.Table
{
public class OrganizationUser : IDataObject<Guid>
{

View File

@ -1,4 +1,4 @@
namespace Bit.Core.Domains
namespace Bit.Core.Models.Table
{
/// <summary>
/// This class is not used. It is implemented to make the Identity provider happy.

View File

@ -1,7 +1,7 @@
using System;
using Bit.Core.Utilities;
namespace Bit.Core.Domains
namespace Bit.Core.Models.Table
{
public class Subvault : IDataObject<Guid>
{

View File

@ -1,7 +1,7 @@
using System;
using Bit.Core.Utilities;
namespace Bit.Core.Domains
namespace Bit.Core.Models.Table
{
public class SubvaultUser : IDataObject<Guid>
{

View File

@ -2,7 +2,7 @@
using Bit.Core.Enums;
using Bit.Core.Utilities;
namespace Bit.Core.Domains
namespace Bit.Core.Models.Table
{
public class User : IDataObject<Guid>
{

View File

@ -1,7 +1,7 @@
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Bit.Core.Domains;
using Bit.Core.Models.Table;
namespace Bit.Core.Repositories
{

View File

@ -1,7 +1,7 @@
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Bit.Core.Domains;
using Bit.Core.Models.Table;
namespace Bit.Core.Repositories
{

View File

@ -1,6 +1,6 @@
using System;
using System.Threading.Tasks;
using Bit.Core.Domains;
using Bit.Core.Models.Table;
using System.Collections.Generic;
namespace Bit.Core.Repositories

View File

@ -1,7 +1,7 @@
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Bit.Core.Domains;
using Bit.Core.Models.Table;
namespace Bit.Core.Repositories
{

View File

@ -1,7 +1,7 @@
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Bit.Core.Domains;
using Bit.Core.Models.Table;
using Bit.Core.Models.Data;
namespace Bit.Core.Repositories

View File

@ -1,6 +1,6 @@
using System;
using System.Threading.Tasks;
using Bit.Core.Domains;
using Bit.Core.Models.Table;
using System.Collections.Generic;
namespace Bit.Core.Repositories

View File

@ -1,6 +1,6 @@
using System;
using System.Threading.Tasks;
using Bit.Core.Domains;
using Bit.Core.Models.Table;
namespace Bit.Core.Repositories
{

View File

@ -1,6 +1,6 @@
using System;
using System.Threading.Tasks;
using Bit.Core.Domains;
using Bit.Core.Models.Table;
namespace Bit.Core.Repositories
{

View File

@ -4,7 +4,7 @@ using System.Collections.Generic;
using System.Data.SqlClient;
using System.Threading.Tasks;
using DataTableProxy;
using Bit.Core.Domains;
using Bit.Core.Models.Table;
using System.Data;
using Dapper;

View File

@ -3,7 +3,7 @@ using System.Linq;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Threading.Tasks;
using Bit.Core.Domains;
using Bit.Core.Models.Table;
using System.Data;
using Dapper;

View File

@ -4,7 +4,7 @@ using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Threading.Tasks;
using Bit.Core.Domains;
using Bit.Core.Models.Table;
using Dapper;
namespace Bit.Core.Repositories.SqlServer

View File

@ -1,5 +1,5 @@
using System;
using Bit.Core.Domains;
using Bit.Core.Models.Table;
using System.Threading.Tasks;
using System.Data.SqlClient;
using System.Data;

View File

@ -1,5 +1,5 @@
using System;
using Bit.Core.Domains;
using Bit.Core.Models.Table;
using System.Data;
using System.Data.SqlClient;
using System.Threading.Tasks;

View File

@ -1,5 +1,5 @@
using System;
using Bit.Core.Domains;
using Bit.Core.Models.Table;
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Data.SqlClient;

View File

@ -1,5 +1,5 @@
using System;
using Bit.Core.Domains;
using Bit.Core.Models.Table;
namespace Bit.Core.Repositories.SqlServer
{

View File

@ -3,7 +3,7 @@ using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Threading.Tasks;
using Bit.Core.Domains;
using Bit.Core.Models.Table;
using Dapper;
namespace Bit.Core.Repositories.SqlServer

View File

@ -1,6 +1,6 @@
using System.Collections.Generic;
using System.Threading.Tasks;
using Bit.Core.Domains;
using Bit.Core.Models.Table;
namespace Bit.Core.Services
{

View File

@ -1,5 +1,5 @@
using System.Threading.Tasks;
using Bit.Core.Domains;
using Bit.Core.Models.Table;
namespace Bit.Core.Services
{

View File

@ -1,5 +1,5 @@
using System.Threading.Tasks;
using Bit.Core.Domains;
using Bit.Core.Models.Table;
namespace Bit.Core.Services
{

View File

@ -1,6 +1,6 @@
using System.Threading.Tasks;
using Bit.Core.Models.Business;
using Bit.Core.Domains;
using Bit.Core.Models.Table;
using System;
namespace Bit.Core.Services

View File

@ -1,6 +1,6 @@
using System;
using System.Threading.Tasks;
using Bit.Core.Domains;
using Bit.Core.Models.Table;
namespace Bit.Core.Services
{

View File

@ -2,7 +2,7 @@
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Identity;
using Bit.Core.Domains;
using Bit.Core.Models.Table;
using System.Security.Claims;
namespace Bit.Core.Services

View File

@ -2,7 +2,7 @@
using System.Linq;
using System.Collections.Generic;
using System.Threading.Tasks;
using Bit.Core.Domains;
using Bit.Core.Models.Table;
using Bit.Core.Repositories;
namespace Bit.Core.Services

View File

@ -1,6 +1,6 @@
using System;
using System.Threading.Tasks;
using Bit.Core.Domains;
using Bit.Core.Models.Table;
using Bit.Core.Repositories;
namespace Bit.Core.Services

View File

@ -1,5 +1,5 @@
using System.Threading.Tasks;
using Bit.Core.Domains;
using Bit.Core.Models.Table;
namespace Bit.Core.Services
{

View File

@ -1,6 +1,6 @@
using System;
using System.Threading.Tasks;
using Bit.Core.Domains;
using Bit.Core.Models.Table;
namespace Bit.Core.Services
{

View File

@ -3,7 +3,7 @@ using System.Linq;
using System.Threading.Tasks;
using Bit.Core.Repositories;
using Bit.Core.Models.Business;
using Bit.Core.Domains;
using Bit.Core.Models.Table;
using Bit.Core.Utilities;
using Bit.Core.Exceptions;

View File

@ -8,7 +8,7 @@ using PushSharp.Google;
using PushSharp.Apple;
using Microsoft.AspNetCore.Hosting;
using PushSharp.Core;
using Bit.Core.Domains;
using Bit.Core.Models.Table;
using Bit.Core.Enums;
using Newtonsoft.Json;
using Microsoft.Extensions.Logging;

View File

@ -1,7 +1,7 @@
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Bit.Core.Domains;
using Bit.Core.Models.Table;
using SendGrid;
using SendGrid.Helpers.Mail;

View File

@ -4,7 +4,7 @@ using System.Threading.Tasks;
using Microsoft.AspNetCore.Identity;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using Bit.Core.Domains;
using Bit.Core.Models.Table;
using Bit.Core.Repositories;
using System.Linq;
using Microsoft.AspNetCore.Builder;