You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ModelsToDbo.cs 467B

123456789101112131415161718192021
  1. using Luticate2.Auth.Dbo.Groups;
  2. using Luticate2.Utils.Utils;
  3. namespace Luticate2.Auth.DataAccess.Models
  4. {
  5. public static class ModelsToDbo
  6. {
  7. public static LuGroupsDbo ToDbo(this lu_groups model)
  8. {
  9. if (model == null)
  10. {
  11. return null;
  12. }
  13. return new LuGroupsDbo
  14. {
  15. Id = model.id.ToDbo(),
  16. Name = model.name
  17. };
  18. }
  19. }
  20. }