mirror of
https://github.com/bitwarden/server.git
synced 2026-02-06 00:53:20 +08:00
Turn on file scoped namespaces (#2225)
This commit is contained in:
@@ -1,17 +1,16 @@
|
||||
using AutoMapper;
|
||||
|
||||
namespace Bit.Infrastructure.EntityFramework.Models
|
||||
{
|
||||
public class Policy : Core.Entities.Policy
|
||||
{
|
||||
public virtual Organization Organization { get; set; }
|
||||
}
|
||||
namespace Bit.Infrastructure.EntityFramework.Models;
|
||||
|
||||
public class PolicyMapperProfile : Profile
|
||||
public class Policy : Core.Entities.Policy
|
||||
{
|
||||
public virtual Organization Organization { get; set; }
|
||||
}
|
||||
|
||||
public class PolicyMapperProfile : Profile
|
||||
{
|
||||
public PolicyMapperProfile()
|
||||
{
|
||||
public PolicyMapperProfile()
|
||||
{
|
||||
CreateMap<Core.Entities.Policy, Policy>().ReverseMap();
|
||||
}
|
||||
CreateMap<Core.Entities.Policy, Policy>().ReverseMap();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user