From 4ad27a10eaeb5c505127afc411712914b49b69df Mon Sep 17 00:00:00 2001 From: Hamid Reza Mohammadi Date: Tue, 23 Mar 2021 19:25:33 +0430 Subject: [PATCH] #99 removing unused fiealds from user public profile --- RMuseum/Controllers/GanjoorController.cs | 2 -- .../Auth/ViewModel/GanjoorUserPublicProfile.cs | 16 ---------------- RMuseum/RMuseum.xml | 16 ---------------- 3 files changed, 34 deletions(-) diff --git a/RMuseum/Controllers/GanjoorController.cs b/RMuseum/Controllers/GanjoorController.cs index 70e832ab..9cb48f5e 100644 --- a/RMuseum/Controllers/GanjoorController.cs +++ b/RMuseum/Controllers/GanjoorController.cs @@ -819,8 +819,6 @@ namespace RMuseum.Controllers new GanjoorUserPublicProfile() { Id = id, - FirstName = userInfo.Result.FirstName, - SureName = userInfo.Result.SureName, NickName = userInfo.Result.NickName, Bio = userInfo.Result.Bio, Website = userInfo.Result.Website, diff --git a/RMuseum/Models/Auth/ViewModel/GanjoorUserPublicProfile.cs b/RMuseum/Models/Auth/ViewModel/GanjoorUserPublicProfile.cs index 20c3be2c..47534871 100644 --- a/RMuseum/Models/Auth/ViewModel/GanjoorUserPublicProfile.cs +++ b/RMuseum/Models/Auth/ViewModel/GanjoorUserPublicProfile.cs @@ -13,22 +13,6 @@ namespace RMuseum.Models.Auth.ViewModel public Guid Id { get; set; } - /// - /// First Name - /// - /// - /// Hamid Reza - /// - public string FirstName { get; set; } - - /// - /// Sure Name - /// - /// - /// Mohammadi - /// - public string SureName { get; set; } - /// /// user image /// diff --git a/RMuseum/RMuseum.xml b/RMuseum/RMuseum.xml index 19a85a1b..b252ff52 100644 --- a/RMuseum/RMuseum.xml +++ b/RMuseum/RMuseum.xml @@ -2166,22 +2166,6 @@ Id - - - First Name - - - Hamid Reza - - - - - Sure Name - - - Mohammadi - - user image