code refactoring

This commit is contained in:
Bangara Raju Kottedi 2024-05-02 17:06:43 +05:30
parent 4672d82975
commit 62c7a29909
13 changed files with 2042 additions and 98 deletions

View File

@ -175,7 +175,7 @@ namespace PortBlog.API.DbContexts.Seed
ProjectId = 1, ProjectId = 1,
Name = "Transfora (Business Process Management)", Name = "Transfora (Business Process Management)",
Description = "Business Process Management", Description = "Business Process Management",
Category = "Web Development", Categories = "Web Development",
ImagePath = "", ImagePath = "",
TechnologiesUsed = ".NET, Angular", TechnologiesUsed = ".NET, Angular",
Responsibilities = "Developing, Testing, Support", Responsibilities = "Developing, Testing, Support",
@ -187,7 +187,7 @@ namespace PortBlog.API.DbContexts.Seed
ProjectId = 2, ProjectId = 2,
Name = "Transfora (Business Process Management)", Name = "Transfora (Business Process Management)",
Description = "Business Process Management", Description = "Business Process Management",
Category = "Web Development", Categories = "Web Development",
ImagePath = "", ImagePath = "",
TechnologiesUsed = ".NET, Angular", TechnologiesUsed = ".NET, Angular",
Responsibilities = "Developing, Testing, Support", Responsibilities = "Developing, Testing, Support",
@ -199,7 +199,7 @@ namespace PortBlog.API.DbContexts.Seed
ProjectId = 3, ProjectId = 3,
Name = "Transfora (Business Process Management)", Name = "Transfora (Business Process Management)",
Description = "Business Process Management", Description = "Business Process Management",
Category = "Web Development", Categories = "Web Development",
ImagePath = "", ImagePath = "",
TechnologiesUsed = ".NET, Angular", TechnologiesUsed = ".NET, Angular",
Responsibilities = "Developing, Testing, Support", Responsibilities = "Developing, Testing, Support",
@ -229,7 +229,7 @@ namespace PortBlog.API.DbContexts.Seed
Slug = "hello-world", Slug = "hello-world",
Title = "Hello World", Title = "Hello World",
Description = "Hello World", Description = "Hello World",
Category = "Welcome", Categories = "Welcome",
PostUrl = "https://bangararaju.kottedi.in/blog/hello-world", PostUrl = "https://bangararaju.kottedi.in/blog/hello-world",
CreatedDate = DateTime.Now, CreatedDate = DateTime.Now,
BlogUrl = "https://bangararaju.kottedi.in/blog" BlogUrl = "https://bangararaju.kottedi.in/blog"
@ -240,7 +240,7 @@ namespace PortBlog.API.DbContexts.Seed
Slug = "hello-world", Slug = "hello-world",
Title = "Hello World", Title = "Hello World",
Description = "Hello World", Description = "Hello World",
Category = "Welcome", Categories = "Welcome",
PostUrl = "https://bangararaju.kottedi.in/blog/hello-world", PostUrl = "https://bangararaju.kottedi.in/blog/hello-world",
CreatedDate = DateTime.Now, CreatedDate = DateTime.Now,
BlogUrl = "https://bangararaju.kottedi.in/blog" BlogUrl = "https://bangararaju.kottedi.in/blog"
@ -251,7 +251,7 @@ namespace PortBlog.API.DbContexts.Seed
Slug = "hello-world", Slug = "hello-world",
Title = "Hello World", Title = "Hello World",
Description = "Hello World", Description = "Hello World",
Category = "Welcome", Categories = "Welcome",
PostUrl = "https://bangararaju.kottedi.in/blog/hello-world", PostUrl = "https://bangararaju.kottedi.in/blog/hello-world",
CreatedDate = DateTime.Now, CreatedDate = DateTime.Now,
BlogUrl = "https://bangararaju.kottedi.in/blog", BlogUrl = "https://bangararaju.kottedi.in/blog",

View File

@ -22,8 +22,8 @@ namespace PortBlog.API.Entities
public string Description { get; set; } = string.Empty; public string Description { get; set; } = string.Empty;
[Required] [Required]
[MaxLength(100)] [MaxLength(200)]
public string Category { get; set; } = string.Empty; public string Categories { get; set; } = string.Empty;
[MaxLength(100)] [MaxLength(100)]
public string? Author { get; set; } public string? Author { get; set; }

View File

@ -18,8 +18,8 @@ namespace PortBlog.API.Entities
public string Description { get; set; } = string.Empty; public string Description { get; set; } = string.Empty;
[Required] [Required]
[MaxLength(100)] [MaxLength(200)]
public string Category { get; set; } = string.Empty; public string Categories { get; set; } = string.Empty;
[Required] [Required]
[MaxLength(100)] [MaxLength(100)]

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,547 @@
using System;
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace PortBlog.API.Migrations
{
/// <inheritdoc />
public partial class ProjectAndPostChanges : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "Category",
table: "Projects");
migrationBuilder.DropColumn(
name: "Category",
table: "Posts");
migrationBuilder.AddColumn<string>(
name: "Categories",
table: "Projects",
type: "varchar(200)",
maxLength: 200,
nullable: false,
defaultValue: "")
.Annotation("MySql:CharSet", "utf8mb4");
migrationBuilder.AddColumn<string>(
name: "Categories",
table: "Posts",
type: "varchar(200)",
maxLength: 200,
nullable: false,
defaultValue: "")
.Annotation("MySql:CharSet", "utf8mb4");
migrationBuilder.UpdateData(
table: "Academics",
keyColumn: "AcademicId",
keyValue: 1,
columns: new[] { "CreatedDate", "ModifiedDate" },
values: new object[] { new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6162), new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6162) });
migrationBuilder.UpdateData(
table: "Academics",
keyColumn: "AcademicId",
keyValue: 2,
columns: new[] { "CreatedDate", "ModifiedDate" },
values: new object[] { new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6166), new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6166) });
migrationBuilder.UpdateData(
table: "Academics",
keyColumn: "AcademicId",
keyValue: 3,
columns: new[] { "CreatedDate", "ModifiedDate" },
values: new object[] { new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6168), new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6168) });
migrationBuilder.UpdateData(
table: "Blogs",
keyColumn: "BlogUrl",
keyValue: "https://bangararaju.kottedi.in/blog",
columns: new[] { "CreatedDate", "ModifiedDate" },
values: new object[] { new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6248), new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6248) });
migrationBuilder.UpdateData(
table: "Candidates",
keyColumn: "CandidateId",
keyValue: 1,
columns: new[] { "CreatedDate", "ModifiedDate" },
values: new object[] { new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(5877), new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(5895) });
migrationBuilder.UpdateData(
table: "ExperienceDetails",
keyColumn: "Id",
keyValue: 1,
columns: new[] { "CreatedDate", "ModifiedDate" },
values: new object[] { new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6333), new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6333) });
migrationBuilder.UpdateData(
table: "ExperienceDetails",
keyColumn: "Id",
keyValue: 2,
columns: new[] { "CreatedDate", "ModifiedDate" },
values: new object[] { new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6336), new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6337) });
migrationBuilder.UpdateData(
table: "ExperienceDetails",
keyColumn: "Id",
keyValue: 3,
columns: new[] { "CreatedDate", "ModifiedDate" },
values: new object[] { new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6338), new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6338) });
migrationBuilder.UpdateData(
table: "ExperienceDetails",
keyColumn: "Id",
keyValue: 4,
columns: new[] { "CreatedDate", "ModifiedDate" },
values: new object[] { new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6339), new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6340) });
migrationBuilder.UpdateData(
table: "ExperienceDetails",
keyColumn: "Id",
keyValue: 5,
columns: new[] { "CreatedDate", "ModifiedDate" },
values: new object[] { new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6341), new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6341) });
migrationBuilder.UpdateData(
table: "ExperienceDetails",
keyColumn: "Id",
keyValue: 6,
columns: new[] { "CreatedDate", "ModifiedDate" },
values: new object[] { new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6343), new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6343) });
migrationBuilder.UpdateData(
table: "ExperienceDetails",
keyColumn: "Id",
keyValue: 7,
columns: new[] { "CreatedDate", "ModifiedDate" },
values: new object[] { new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6344), new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6345) });
migrationBuilder.UpdateData(
table: "ExperienceDetails",
keyColumn: "Id",
keyValue: 8,
columns: new[] { "CreatedDate", "ModifiedDate" },
values: new object[] { new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6346), new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6346) });
migrationBuilder.UpdateData(
table: "Experiences",
keyColumn: "ExperienceId",
keyValue: 1,
columns: new[] { "CreatedDate", "ModifiedDate" },
values: new object[] { new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6297), new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6297) });
migrationBuilder.UpdateData(
table: "Experiences",
keyColumn: "ExperienceId",
keyValue: 2,
columns: new[] { "CreatedDate", "ModifiedDate" },
values: new object[] { new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6302), new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6302) });
migrationBuilder.UpdateData(
table: "Experiences",
keyColumn: "ExperienceId",
keyValue: 3,
columns: new[] { "CreatedDate", "ModifiedDate" },
values: new object[] { new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6305), new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6305) });
migrationBuilder.UpdateData(
table: "Experiences",
keyColumn: "ExperienceId",
keyValue: 4,
columns: new[] { "CreatedDate", "ModifiedDate" },
values: new object[] { new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6307), new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6308) });
migrationBuilder.UpdateData(
table: "Hobbies",
keyColumn: "HobbyId",
keyValue: 1,
columns: new[] { "CreatedDate", "ModifiedDate" },
values: new object[] { new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6128), new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6128) });
migrationBuilder.UpdateData(
table: "Hobbies",
keyColumn: "HobbyId",
keyValue: 2,
columns: new[] { "CreatedDate", "ModifiedDate" },
values: new object[] { new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6134), new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6135) });
migrationBuilder.UpdateData(
table: "Hobbies",
keyColumn: "HobbyId",
keyValue: 3,
columns: new[] { "CreatedDate", "ModifiedDate" },
values: new object[] { new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6137), new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6137) });
migrationBuilder.UpdateData(
table: "Hobbies",
keyColumn: "HobbyId",
keyValue: 4,
columns: new[] { "CreatedDate", "ModifiedDate" },
values: new object[] { new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6139), new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6139) });
migrationBuilder.UpdateData(
table: "Posts",
keyColumn: "PostId",
keyValue: 1,
columns: new[] { "Categories", "CreatedDate", "ModifiedDate" },
values: new object[] { "Welcome", new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6269), new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6266) });
migrationBuilder.UpdateData(
table: "Posts",
keyColumn: "PostId",
keyValue: 2,
columns: new[] { "Categories", "CreatedDate", "ModifiedDate" },
values: new object[] { "Welcome", new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6274), new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6273) });
migrationBuilder.UpdateData(
table: "Posts",
keyColumn: "PostId",
keyValue: 3,
columns: new[] { "Categories", "CreatedDate", "ModifiedDate" },
values: new object[] { "Welcome", new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6277), new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6276) });
migrationBuilder.UpdateData(
table: "Projects",
keyColumn: "ProjectId",
keyValue: 1,
columns: new[] { "Categories", "CreatedDate", "ModifiedDate" },
values: new object[] { "Web Development", new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6218), new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6219) });
migrationBuilder.UpdateData(
table: "Projects",
keyColumn: "ProjectId",
keyValue: 2,
columns: new[] { "Categories", "CreatedDate", "ModifiedDate" },
values: new object[] { "Web Development", new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6224), new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6225) });
migrationBuilder.UpdateData(
table: "Projects",
keyColumn: "ProjectId",
keyValue: 3,
columns: new[] { "Categories", "CreatedDate", "ModifiedDate" },
values: new object[] { "Web Development", new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6227), new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6227) });
migrationBuilder.UpdateData(
table: "Resumes",
keyColumn: "ResumeId",
keyValue: 1,
columns: new[] { "CreatedDate", "ModifiedDate" },
values: new object[] { new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6082), new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6082) });
migrationBuilder.UpdateData(
table: "Skills",
keyColumn: "SkillId",
keyValue: 1,
columns: new[] { "CreatedDate", "ModifiedDate" },
values: new object[] { new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6187), new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6187) });
migrationBuilder.UpdateData(
table: "Skills",
keyColumn: "SkillId",
keyValue: 2,
columns: new[] { "CreatedDate", "ModifiedDate" },
values: new object[] { new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6191), new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6191) });
migrationBuilder.UpdateData(
table: "Skills",
keyColumn: "SkillId",
keyValue: 3,
columns: new[] { "CreatedDate", "ModifiedDate" },
values: new object[] { new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6193), new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6193) });
migrationBuilder.UpdateData(
table: "Skills",
keyColumn: "SkillId",
keyValue: 4,
columns: new[] { "CreatedDate", "ModifiedDate" },
values: new object[] { new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6194), new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6195) });
migrationBuilder.UpdateData(
table: "Skills",
keyColumn: "SkillId",
keyValue: 5,
columns: new[] { "CreatedDate", "ModifiedDate" },
values: new object[] { new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6196), new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6196) });
migrationBuilder.UpdateData(
table: "SocialLinks",
keyColumn: "Id",
keyValue: 1,
columns: new[] { "CreatedDate", "ModifiedDate" },
values: new object[] { new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6106), new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6106) });
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "Categories",
table: "Projects");
migrationBuilder.DropColumn(
name: "Categories",
table: "Posts");
migrationBuilder.AddColumn<string>(
name: "Category",
table: "Projects",
type: "varchar(100)",
maxLength: 100,
nullable: false,
defaultValue: "")
.Annotation("MySql:CharSet", "utf8mb4");
migrationBuilder.AddColumn<string>(
name: "Category",
table: "Posts",
type: "varchar(100)",
maxLength: 100,
nullable: false,
defaultValue: "")
.Annotation("MySql:CharSet", "utf8mb4");
migrationBuilder.UpdateData(
table: "Academics",
keyColumn: "AcademicId",
keyValue: 1,
columns: new[] { "CreatedDate", "ModifiedDate" },
values: new object[] { new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4502), new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4503) });
migrationBuilder.UpdateData(
table: "Academics",
keyColumn: "AcademicId",
keyValue: 2,
columns: new[] { "CreatedDate", "ModifiedDate" },
values: new object[] { new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4505), new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4505) });
migrationBuilder.UpdateData(
table: "Academics",
keyColumn: "AcademicId",
keyValue: 3,
columns: new[] { "CreatedDate", "ModifiedDate" },
values: new object[] { new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4538), new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4538) });
migrationBuilder.UpdateData(
table: "Blogs",
keyColumn: "BlogUrl",
keyValue: "https://bangararaju.kottedi.in/blog",
columns: new[] { "CreatedDate", "ModifiedDate" },
values: new object[] { new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4614), new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4615) });
migrationBuilder.UpdateData(
table: "Candidates",
keyColumn: "CandidateId",
keyValue: 1,
columns: new[] { "CreatedDate", "ModifiedDate" },
values: new object[] { new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4300), new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4316) });
migrationBuilder.UpdateData(
table: "ExperienceDetails",
keyColumn: "Id",
keyValue: 1,
columns: new[] { "CreatedDate", "ModifiedDate" },
values: new object[] { new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4696), new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4696) });
migrationBuilder.UpdateData(
table: "ExperienceDetails",
keyColumn: "Id",
keyValue: 2,
columns: new[] { "CreatedDate", "ModifiedDate" },
values: new object[] { new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4699), new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4699) });
migrationBuilder.UpdateData(
table: "ExperienceDetails",
keyColumn: "Id",
keyValue: 3,
columns: new[] { "CreatedDate", "ModifiedDate" },
values: new object[] { new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4700), new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4701) });
migrationBuilder.UpdateData(
table: "ExperienceDetails",
keyColumn: "Id",
keyValue: 4,
columns: new[] { "CreatedDate", "ModifiedDate" },
values: new object[] { new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4702), new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4702) });
migrationBuilder.UpdateData(
table: "ExperienceDetails",
keyColumn: "Id",
keyValue: 5,
columns: new[] { "CreatedDate", "ModifiedDate" },
values: new object[] { new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4703), new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4703) });
migrationBuilder.UpdateData(
table: "ExperienceDetails",
keyColumn: "Id",
keyValue: 6,
columns: new[] { "CreatedDate", "ModifiedDate" },
values: new object[] { new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4705), new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4705) });
migrationBuilder.UpdateData(
table: "ExperienceDetails",
keyColumn: "Id",
keyValue: 7,
columns: new[] { "CreatedDate", "ModifiedDate" },
values: new object[] { new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4706), new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4707) });
migrationBuilder.UpdateData(
table: "ExperienceDetails",
keyColumn: "Id",
keyValue: 8,
columns: new[] { "CreatedDate", "ModifiedDate" },
values: new object[] { new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4708), new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4708) });
migrationBuilder.UpdateData(
table: "Experiences",
keyColumn: "ExperienceId",
keyValue: 1,
columns: new[] { "CreatedDate", "ModifiedDate" },
values: new object[] { new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4663), new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4664) });
migrationBuilder.UpdateData(
table: "Experiences",
keyColumn: "ExperienceId",
keyValue: 2,
columns: new[] { "CreatedDate", "ModifiedDate" },
values: new object[] { new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4668), new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4668) });
migrationBuilder.UpdateData(
table: "Experiences",
keyColumn: "ExperienceId",
keyValue: 3,
columns: new[] { "CreatedDate", "ModifiedDate" },
values: new object[] { new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4671), new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4671) });
migrationBuilder.UpdateData(
table: "Experiences",
keyColumn: "ExperienceId",
keyValue: 4,
columns: new[] { "CreatedDate", "ModifiedDate" },
values: new object[] { new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4673), new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4673) });
migrationBuilder.UpdateData(
table: "Hobbies",
keyColumn: "HobbyId",
keyValue: 1,
columns: new[] { "CreatedDate", "ModifiedDate" },
values: new object[] { new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4471), new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4471) });
migrationBuilder.UpdateData(
table: "Hobbies",
keyColumn: "HobbyId",
keyValue: 2,
columns: new[] { "CreatedDate", "ModifiedDate" },
values: new object[] { new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4476), new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4476) });
migrationBuilder.UpdateData(
table: "Hobbies",
keyColumn: "HobbyId",
keyValue: 3,
columns: new[] { "CreatedDate", "ModifiedDate" },
values: new object[] { new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4478), new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4478) });
migrationBuilder.UpdateData(
table: "Hobbies",
keyColumn: "HobbyId",
keyValue: 4,
columns: new[] { "CreatedDate", "ModifiedDate" },
values: new object[] { new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4480), new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4480) });
migrationBuilder.UpdateData(
table: "Posts",
keyColumn: "PostId",
keyValue: 1,
columns: new[] { "Category", "CreatedDate", "ModifiedDate" },
values: new object[] { "Welcome", new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4636), new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4634) });
migrationBuilder.UpdateData(
table: "Posts",
keyColumn: "PostId",
keyValue: 2,
columns: new[] { "Category", "CreatedDate", "ModifiedDate" },
values: new object[] { "Welcome", new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4641), new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4639) });
migrationBuilder.UpdateData(
table: "Posts",
keyColumn: "PostId",
keyValue: 3,
columns: new[] { "Category", "CreatedDate", "ModifiedDate" },
values: new object[] { "Welcome", new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4643), new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4642) });
migrationBuilder.UpdateData(
table: "Projects",
keyColumn: "ProjectId",
keyValue: 1,
columns: new[] { "Category", "CreatedDate", "ModifiedDate" },
values: new object[] { "Web Development", new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4586), new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4586) });
migrationBuilder.UpdateData(
table: "Projects",
keyColumn: "ProjectId",
keyValue: 2,
columns: new[] { "Category", "CreatedDate", "ModifiedDate" },
values: new object[] { "Web Development", new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4590), new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4591) });
migrationBuilder.UpdateData(
table: "Projects",
keyColumn: "ProjectId",
keyValue: 3,
columns: new[] { "Category", "CreatedDate", "ModifiedDate" },
values: new object[] { "Web Development", new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4593), new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4593) });
migrationBuilder.UpdateData(
table: "Resumes",
keyColumn: "ResumeId",
keyValue: 1,
columns: new[] { "CreatedDate", "ModifiedDate" },
values: new object[] { new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4431), new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4431) });
migrationBuilder.UpdateData(
table: "Skills",
keyColumn: "SkillId",
keyValue: 1,
columns: new[] { "CreatedDate", "ModifiedDate" },
values: new object[] { new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4559), new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4559) });
migrationBuilder.UpdateData(
table: "Skills",
keyColumn: "SkillId",
keyValue: 2,
columns: new[] { "CreatedDate", "ModifiedDate" },
values: new object[] { new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4562), new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4562) });
migrationBuilder.UpdateData(
table: "Skills",
keyColumn: "SkillId",
keyValue: 3,
columns: new[] { "CreatedDate", "ModifiedDate" },
values: new object[] { new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4564), new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4564) });
migrationBuilder.UpdateData(
table: "Skills",
keyColumn: "SkillId",
keyValue: 4,
columns: new[] { "CreatedDate", "ModifiedDate" },
values: new object[] { new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4565), new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4565) });
migrationBuilder.UpdateData(
table: "Skills",
keyColumn: "SkillId",
keyValue: 5,
columns: new[] { "CreatedDate", "ModifiedDate" },
values: new object[] { new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4566), new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4567) });
migrationBuilder.UpdateData(
table: "SocialLinks",
keyColumn: "Id",
keyValue: 1,
columns: new[] { "CreatedDate", "ModifiedDate" },
values: new object[] { new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4453), new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4453) });
}
}
}

View File

@ -75,35 +75,35 @@ namespace PortBlog.API.Migrations
new new
{ {
AcademicId = 1, AcademicId = 1,
CreatedDate = new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4502), CreatedDate = new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6162),
Degree = "High School", Degree = "High School",
EndYear = 2007, EndYear = 2007,
Institution = "Pragati Little Public School", Institution = "Pragati Little Public School",
ModifiedDate = new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4503), ModifiedDate = new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6162),
ResumeId = 1, ResumeId = 1,
StartYear = 2006 StartYear = 2006
}, },
new new
{ {
AcademicId = 2, AcademicId = 2,
CreatedDate = new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4505), CreatedDate = new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6166),
Degree = "Intermediate", Degree = "Intermediate",
DegreeSpecialization = "MPC", DegreeSpecialization = "MPC",
EndYear = 2009, EndYear = 2009,
Institution = "Sri Chaitanya Junior College", Institution = "Sri Chaitanya Junior College",
ModifiedDate = new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4505), ModifiedDate = new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6166),
ResumeId = 1, ResumeId = 1,
StartYear = 2007 StartYear = 2007
}, },
new new
{ {
AcademicId = 3, AcademicId = 3,
CreatedDate = new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4538), CreatedDate = new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6168),
Degree = "BTech", Degree = "BTech",
DegreeSpecialization = "ECE", DegreeSpecialization = "ECE",
EndYear = 2013, EndYear = 2013,
Institution = "Kakinada Institute of Technology & Science", Institution = "Kakinada Institute of Technology & Science",
ModifiedDate = new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4538), ModifiedDate = new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6168),
ResumeId = 1, ResumeId = 1,
StartYear = 2009 StartYear = 2009
}); });
@ -144,9 +144,9 @@ namespace PortBlog.API.Migrations
new new
{ {
BlogUrl = "https://bangararaju.kottedi.in/blog", BlogUrl = "https://bangararaju.kottedi.in/blog",
CreatedDate = new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4614), CreatedDate = new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6248),
Description = "Your Hub for Tech, DIY, and Innovation", Description = "Your Hub for Tech, DIY, and Innovation",
ModifiedDate = new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4615), ModifiedDate = new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6248),
Name = "Engineer's Odyssey" Name = "Engineer's Odyssey"
}); });
}); });
@ -213,13 +213,13 @@ namespace PortBlog.API.Migrations
{ {
CandidateId = 1, CandidateId = 1,
Address = "Samalkot, Andhra Pradesh, India", Address = "Samalkot, Andhra Pradesh, India",
CreatedDate = new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4300), CreatedDate = new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(5877),
Dob = new DateTime(1992, 5, 6, 0, 0, 0, 0, DateTimeKind.Unspecified), Dob = new DateTime(1992, 5, 6, 0, 0, 0, 0, DateTimeKind.Unspecified),
Email = "bangararaju.kottedi@gmail.com", Email = "bangararaju.kottedi@gmail.com",
FirstName = "Bangara Raju", FirstName = "Bangara Raju",
Gender = "Male", Gender = "Male",
LastName = "Kottedi", LastName = "Kottedi",
ModifiedDate = new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4316), ModifiedDate = new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(5895),
Phone = "+91 9441212187" Phone = "+91 9441212187"
}); });
}); });
@ -366,11 +366,11 @@ namespace PortBlog.API.Migrations
{ {
ExperienceId = 1, ExperienceId = 1,
Company = "Agility E Services", Company = "Agility E Services",
CreatedDate = new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4663), CreatedDate = new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6297),
Description = "", Description = "",
EndDate = new DateTime(2016, 4, 25, 0, 0, 0, 0, DateTimeKind.Unspecified), EndDate = new DateTime(2016, 4, 25, 0, 0, 0, 0, DateTimeKind.Unspecified),
Location = "Hyderabad", Location = "Hyderabad",
ModifiedDate = new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4664), ModifiedDate = new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6297),
ResumeId = 1, ResumeId = 1,
StartDate = new DateTime(2015, 9, 2, 0, 0, 0, 0, DateTimeKind.Unspecified), StartDate = new DateTime(2015, 9, 2, 0, 0, 0, 0, DateTimeKind.Unspecified),
Title = "Jr. Software Engineer" Title = "Jr. Software Engineer"
@ -379,11 +379,11 @@ namespace PortBlog.API.Migrations
{ {
ExperienceId = 2, ExperienceId = 2,
Company = "Agility", Company = "Agility",
CreatedDate = new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4668), CreatedDate = new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6302),
Description = "", Description = "",
EndDate = new DateTime(2022, 1, 31, 0, 0, 0, 0, DateTimeKind.Unspecified), EndDate = new DateTime(2022, 1, 31, 0, 0, 0, 0, DateTimeKind.Unspecified),
Location = "Kuwait", Location = "Kuwait",
ModifiedDate = new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4668), ModifiedDate = new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6302),
ResumeId = 1, ResumeId = 1,
StartDate = new DateTime(2016, 5, 12, 0, 0, 0, 0, DateTimeKind.Unspecified), StartDate = new DateTime(2016, 5, 12, 0, 0, 0, 0, DateTimeKind.Unspecified),
Title = "Web Developer" Title = "Web Developer"
@ -392,11 +392,11 @@ namespace PortBlog.API.Migrations
{ {
ExperienceId = 3, ExperienceId = 3,
Company = "Agility", Company = "Agility",
CreatedDate = new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4671), CreatedDate = new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6305),
Description = "", Description = "",
EndDate = new DateTime(2022, 10, 31, 0, 0, 0, 0, DateTimeKind.Unspecified), EndDate = new DateTime(2022, 10, 31, 0, 0, 0, 0, DateTimeKind.Unspecified),
Location = "Kuwait", Location = "Kuwait",
ModifiedDate = new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4671), ModifiedDate = new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6305),
ResumeId = 1, ResumeId = 1,
StartDate = new DateTime(2022, 2, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), StartDate = new DateTime(2022, 2, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
Title = "Senior Web Developer" Title = "Senior Web Developer"
@ -405,11 +405,11 @@ namespace PortBlog.API.Migrations
{ {
ExperienceId = 4, ExperienceId = 4,
Company = "Agility E Services", Company = "Agility E Services",
CreatedDate = new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4673), CreatedDate = new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6307),
Description = "", Description = "",
EndDate = new DateTime(2024, 4, 12, 0, 0, 0, 0, DateTimeKind.Unspecified), EndDate = new DateTime(2024, 4, 12, 0, 0, 0, 0, DateTimeKind.Unspecified),
Location = "Hyderabad", Location = "Hyderabad",
ModifiedDate = new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4673), ModifiedDate = new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6308),
ResumeId = 1, ResumeId = 1,
StartDate = new DateTime(2022, 11, 4, 0, 0, 0, 0, DateTimeKind.Unspecified), StartDate = new DateTime(2022, 11, 4, 0, 0, 0, 0, DateTimeKind.Unspecified),
Title = "Technology Specialist" Title = "Technology Specialist"
@ -457,73 +457,73 @@ namespace PortBlog.API.Migrations
new new
{ {
Id = 1, Id = 1,
CreatedDate = new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4696), CreatedDate = new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6333),
Details = "Worked on the YouTube Captions team, in Javascript and Python to plan, to design and develop the full stack to add and edit Automatic Speech Recognition captions.", Details = "Worked on the YouTube Captions team, in Javascript and Python to plan, to design and develop the full stack to add and edit Automatic Speech Recognition captions.",
ExperienceId = 1, ExperienceId = 1,
ModifiedDate = new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4696), ModifiedDate = new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6333),
Order = 1 Order = 1
}, },
new new
{ {
Id = 2, Id = 2,
CreatedDate = new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4699), CreatedDate = new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6336),
Details = "Worked on the YouTube Captions team, in Javascript and Python to plan, to design and develop the full stack to add and edit Automatic Speech Recognition captions.", Details = "Worked on the YouTube Captions team, in Javascript and Python to plan, to design and develop the full stack to add and edit Automatic Speech Recognition captions.",
ExperienceId = 1, ExperienceId = 1,
ModifiedDate = new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4699), ModifiedDate = new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6337),
Order = 2 Order = 2
}, },
new new
{ {
Id = 3, Id = 3,
CreatedDate = new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4700), CreatedDate = new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6338),
Details = "Worked on the YouTube Captions team, in Javascript and Python to plan, to design and develop the full stack to add and edit Automatic Speech Recognition captions.", Details = "Worked on the YouTube Captions team, in Javascript and Python to plan, to design and develop the full stack to add and edit Automatic Speech Recognition captions.",
ExperienceId = 2, ExperienceId = 2,
ModifiedDate = new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4701), ModifiedDate = new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6338),
Order = 1 Order = 1
}, },
new new
{ {
Id = 4, Id = 4,
CreatedDate = new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4702), CreatedDate = new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6339),
Details = "Worked on the YouTube Captions team, in Javascript and Python to plan, to design and develop the full stack to add and edit Automatic Speech Recognition captions.", Details = "Worked on the YouTube Captions team, in Javascript and Python to plan, to design and develop the full stack to add and edit Automatic Speech Recognition captions.",
ExperienceId = 2, ExperienceId = 2,
ModifiedDate = new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4702), ModifiedDate = new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6340),
Order = 2 Order = 2
}, },
new new
{ {
Id = 5, Id = 5,
CreatedDate = new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4703), CreatedDate = new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6341),
Details = "Worked on the YouTube Captions team, in Javascript and Python to plan, to design and develop the full stack to add and edit Automatic Speech Recognition captions.", Details = "Worked on the YouTube Captions team, in Javascript and Python to plan, to design and develop the full stack to add and edit Automatic Speech Recognition captions.",
ExperienceId = 3, ExperienceId = 3,
ModifiedDate = new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4703), ModifiedDate = new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6341),
Order = 1 Order = 1
}, },
new new
{ {
Id = 6, Id = 6,
CreatedDate = new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4705), CreatedDate = new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6343),
Details = "Worked on the YouTube Captions team, in Javascript and Python to plan, to design and develop the full stack to add and edit Automatic Speech Recognition captions.", Details = "Worked on the YouTube Captions team, in Javascript and Python to plan, to design and develop the full stack to add and edit Automatic Speech Recognition captions.",
ExperienceId = 3, ExperienceId = 3,
ModifiedDate = new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4705), ModifiedDate = new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6343),
Order = 2 Order = 2
}, },
new new
{ {
Id = 7, Id = 7,
CreatedDate = new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4706), CreatedDate = new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6344),
Details = "Worked on the YouTube Captions team, in Javascript and Python to plan, to design and develop the full stack to add and edit Automatic Speech Recognition captions.", Details = "Worked on the YouTube Captions team, in Javascript and Python to plan, to design and develop the full stack to add and edit Automatic Speech Recognition captions.",
ExperienceId = 4, ExperienceId = 4,
ModifiedDate = new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4707), ModifiedDate = new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6345),
Order = 1 Order = 1
}, },
new new
{ {
Id = 8, Id = 8,
CreatedDate = new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4708), CreatedDate = new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6346),
Details = "Worked on the YouTube Captions team, in Javascript and Python to plan, to design and develop the full stack to add and edit Automatic Speech Recognition captions.", Details = "Worked on the YouTube Captions team, in Javascript and Python to plan, to design and develop the full stack to add and edit Automatic Speech Recognition captions.",
ExperienceId = 4, ExperienceId = 4,
ModifiedDate = new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4708), ModifiedDate = new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6346),
Order = 2 Order = 2
}); });
}); });
@ -578,10 +578,10 @@ namespace PortBlog.API.Migrations
new new
{ {
HobbyId = 1, HobbyId = 1,
CreatedDate = new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4471), CreatedDate = new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6128),
Description = "Crafting Professional-Quality Websites with Precision", Description = "Crafting Professional-Quality Websites with Precision",
Icon = "fa-square-terminal", Icon = "fa-square-terminal",
ModifiedDate = new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4471), ModifiedDate = new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6128),
Name = "Web Development", Name = "Web Development",
Order = 1, Order = 1,
ResumeId = 1 ResumeId = 1
@ -589,10 +589,10 @@ namespace PortBlog.API.Migrations
new new
{ {
HobbyId = 2, HobbyId = 2,
CreatedDate = new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4476), CreatedDate = new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6134),
Description = "Streamlining and Simplifying Complex Tasks through Automation", Description = "Streamlining and Simplifying Complex Tasks through Automation",
Icon = "fa-robot", Icon = "fa-robot",
ModifiedDate = new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4476), ModifiedDate = new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6135),
Name = "Automation", Name = "Automation",
Order = 2, Order = 2,
ResumeId = 1 ResumeId = 1
@ -600,10 +600,10 @@ namespace PortBlog.API.Migrations
new new
{ {
HobbyId = 3, HobbyId = 3,
CreatedDate = new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4478), CreatedDate = new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6137),
Description = "Sharing the knowledge and insights Ive gathered along my journey", Description = "Sharing the knowledge and insights Ive gathered along my journey",
Icon = "fa-typewriter", Icon = "fa-typewriter",
ModifiedDate = new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4478), ModifiedDate = new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6137),
Name = "Blogging", Name = "Blogging",
Order = 3, Order = 3,
ResumeId = 1 ResumeId = 1
@ -611,10 +611,10 @@ namespace PortBlog.API.Migrations
new new
{ {
HobbyId = 4, HobbyId = 4,
CreatedDate = new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4480), CreatedDate = new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6139),
Description = "Cultivating Nature's Beauty and Bounty", Description = "Cultivating Nature's Beauty and Bounty",
Icon = "fa-seedling", Icon = "fa-seedling",
ModifiedDate = new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4480), ModifiedDate = new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6139),
Name = "Gardening", Name = "Gardening",
Order = 4, Order = 4,
ResumeId = 1 ResumeId = 1
@ -687,10 +687,10 @@ namespace PortBlog.API.Migrations
.HasMaxLength(200) .HasMaxLength(200)
.HasColumnType("varchar(200)"); .HasColumnType("varchar(200)");
b.Property<string>("Category") b.Property<string>("Categories")
.IsRequired() .IsRequired()
.HasMaxLength(100) .HasMaxLength(200)
.HasColumnType("varchar(100)"); .HasColumnType("varchar(200)");
b.Property<int>("Comments") b.Property<int>("Comments")
.HasColumnType("int"); .HasColumnType("int");
@ -748,12 +748,12 @@ namespace PortBlog.API.Migrations
{ {
PostId = 1, PostId = 1,
BlogUrl = "https://bangararaju.kottedi.in/blog", BlogUrl = "https://bangararaju.kottedi.in/blog",
Category = "Welcome", Categories = "Welcome",
Comments = 0, Comments = 0,
CreatedDate = new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4636), CreatedDate = new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6269),
Description = "Hello World", Description = "Hello World",
Likes = 0, Likes = 0,
ModifiedDate = new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4634), ModifiedDate = new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6266),
PostUrl = "https://bangararaju.kottedi.in/blog/hello-world", PostUrl = "https://bangararaju.kottedi.in/blog/hello-world",
Slug = "hello-world", Slug = "hello-world",
Title = "Hello World", Title = "Hello World",
@ -763,12 +763,12 @@ namespace PortBlog.API.Migrations
{ {
PostId = 2, PostId = 2,
BlogUrl = "https://bangararaju.kottedi.in/blog", BlogUrl = "https://bangararaju.kottedi.in/blog",
Category = "Welcome", Categories = "Welcome",
Comments = 0, Comments = 0,
CreatedDate = new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4641), CreatedDate = new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6274),
Description = "Hello World", Description = "Hello World",
Likes = 0, Likes = 0,
ModifiedDate = new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4639), ModifiedDate = new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6273),
PostUrl = "https://bangararaju.kottedi.in/blog/hello-world", PostUrl = "https://bangararaju.kottedi.in/blog/hello-world",
Slug = "hello-world", Slug = "hello-world",
Title = "Hello World", Title = "Hello World",
@ -778,12 +778,12 @@ namespace PortBlog.API.Migrations
{ {
PostId = 3, PostId = 3,
BlogUrl = "https://bangararaju.kottedi.in/blog", BlogUrl = "https://bangararaju.kottedi.in/blog",
Category = "Welcome", Categories = "Welcome",
Comments = 0, Comments = 0,
CreatedDate = new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4643), CreatedDate = new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6277),
Description = "Hello World", Description = "Hello World",
Likes = 0, Likes = 0,
ModifiedDate = new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4642), ModifiedDate = new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6276),
PostUrl = "https://bangararaju.kottedi.in/blog/hello-world", PostUrl = "https://bangararaju.kottedi.in/blog/hello-world",
Slug = "hello-world", Slug = "hello-world",
Title = "Hello World", Title = "Hello World",
@ -799,10 +799,10 @@ namespace PortBlog.API.Migrations
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<int>("ProjectId")); MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<int>("ProjectId"));
b.Property<string>("Category") b.Property<string>("Categories")
.IsRequired() .IsRequired()
.HasMaxLength(100) .HasMaxLength(200)
.HasColumnType("varchar(100)"); .HasColumnType("varchar(200)");
b.Property<string>("Challenges") b.Property<string>("Challenges")
.HasMaxLength(200) .HasMaxLength(200)
@ -880,11 +880,11 @@ namespace PortBlog.API.Migrations
new new
{ {
ProjectId = 1, ProjectId = 1,
Category = "Web Development", Categories = "Web Development",
CreatedDate = new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4586), CreatedDate = new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6218),
Description = "Business Process Management", Description = "Business Process Management",
ImagePath = "", ImagePath = "",
ModifiedDate = new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4586), ModifiedDate = new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6219),
Name = "Transfora (Business Process Management)", Name = "Transfora (Business Process Management)",
Responsibilities = "Developing, Testing, Support", Responsibilities = "Developing, Testing, Support",
ResumeId = 1, ResumeId = 1,
@ -894,11 +894,11 @@ namespace PortBlog.API.Migrations
new new
{ {
ProjectId = 2, ProjectId = 2,
Category = "Web Development", Categories = "Web Development",
CreatedDate = new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4590), CreatedDate = new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6224),
Description = "Business Process Management", Description = "Business Process Management",
ImagePath = "", ImagePath = "",
ModifiedDate = new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4591), ModifiedDate = new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6225),
Name = "Transfora (Business Process Management)", Name = "Transfora (Business Process Management)",
Responsibilities = "Developing, Testing, Support", Responsibilities = "Developing, Testing, Support",
ResumeId = 1, ResumeId = 1,
@ -908,11 +908,11 @@ namespace PortBlog.API.Migrations
new new
{ {
ProjectId = 3, ProjectId = 3,
Category = "Web Development", Categories = "Web Development",
CreatedDate = new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4593), CreatedDate = new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6227),
Description = "Business Process Management", Description = "Business Process Management",
ImagePath = "", ImagePath = "",
ModifiedDate = new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4593), ModifiedDate = new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6227),
Name = "Transfora (Business Process Management)", Name = "Transfora (Business Process Management)",
Responsibilities = "Developing, Testing, Support", Responsibilities = "Developing, Testing, Support",
ResumeId = 1, ResumeId = 1,
@ -969,8 +969,8 @@ namespace PortBlog.API.Migrations
ResumeId = 1, ResumeId = 1,
About = "I'm Full Stack Developer with 8+ years of hands-on experience in .NET development. Passionate and driven professional with expertise in .NET WebAPI, Angular, CI/CD, and a growing proficiency in Azure. I've successfully delivered robust applications, prioritizing efficiency and user experience. While I'm currently in the early stages of exploring Azure, I'm eager to expand my skill set and leverage cloud technologies to enhance scalability and performance. Known for my proactive approach and dedication to continuous learning, I'm committed to staying abreast of the latest technologies and methodologies to drive innovation and deliver exceptional results.", About = "I'm Full Stack Developer with 8+ years of hands-on experience in .NET development. Passionate and driven professional with expertise in .NET WebAPI, Angular, CI/CD, and a growing proficiency in Azure. I've successfully delivered robust applications, prioritizing efficiency and user experience. While I'm currently in the early stages of exploring Azure, I'm eager to expand my skill set and leverage cloud technologies to enhance scalability and performance. Known for my proactive approach and dedication to continuous learning, I'm committed to staying abreast of the latest technologies and methodologies to drive innovation and deliver exceptional results.",
CandidateId = 1, CandidateId = 1,
CreatedDate = new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4431), CreatedDate = new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6082),
ModifiedDate = new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4431), ModifiedDate = new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6082),
Order = 1, Order = 1,
Title = "Full Stack Developer" Title = "Full Stack Developer"
}); });
@ -1071,8 +1071,8 @@ namespace PortBlog.API.Migrations
new new
{ {
SkillId = 1, SkillId = 1,
CreatedDate = new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4559), CreatedDate = new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6187),
ModifiedDate = new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4559), ModifiedDate = new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6187),
Name = "Web Development", Name = "Web Development",
ProficiencyLevel = 80, ProficiencyLevel = 80,
ResumeId = 1 ResumeId = 1
@ -1080,8 +1080,8 @@ namespace PortBlog.API.Migrations
new new
{ {
SkillId = 2, SkillId = 2,
CreatedDate = new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4562), CreatedDate = new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6191),
ModifiedDate = new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4562), ModifiedDate = new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6191),
Name = "Web Development", Name = "Web Development",
ProficiencyLevel = 80, ProficiencyLevel = 80,
ResumeId = 1 ResumeId = 1
@ -1089,8 +1089,8 @@ namespace PortBlog.API.Migrations
new new
{ {
SkillId = 3, SkillId = 3,
CreatedDate = new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4564), CreatedDate = new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6193),
ModifiedDate = new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4564), ModifiedDate = new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6193),
Name = "Web Development", Name = "Web Development",
ProficiencyLevel = 80, ProficiencyLevel = 80,
ResumeId = 1 ResumeId = 1
@ -1098,8 +1098,8 @@ namespace PortBlog.API.Migrations
new new
{ {
SkillId = 4, SkillId = 4,
CreatedDate = new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4565), CreatedDate = new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6194),
ModifiedDate = new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4565), ModifiedDate = new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6195),
Name = "Web Development", Name = "Web Development",
ProficiencyLevel = 80, ProficiencyLevel = 80,
ResumeId = 1 ResumeId = 1
@ -1107,8 +1107,8 @@ namespace PortBlog.API.Migrations
new new
{ {
SkillId = 5, SkillId = 5,
CreatedDate = new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4566), CreatedDate = new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6196),
ModifiedDate = new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4567), ModifiedDate = new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6196),
Name = "Web Development", Name = "Web Development",
ProficiencyLevel = 80, ProficiencyLevel = 80,
ResumeId = 1 ResumeId = 1
@ -1181,10 +1181,10 @@ namespace PortBlog.API.Migrations
{ {
Id = 1, Id = 1,
BlogUrl = "https://bangararaju.kottedi.in/blog", BlogUrl = "https://bangararaju.kottedi.in/blog",
CreatedDate = new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4453), CreatedDate = new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6106),
GitHub = "https://github.com/rajukottedi", GitHub = "https://github.com/rajukottedi",
Linkedin = "https://in.linkedin.com/in/bangara-raju-kottedi-299072109", Linkedin = "https://in.linkedin.com/in/bangara-raju-kottedi-299072109",
ModifiedDate = new DateTime(2024, 4, 30, 20, 35, 41, 984, DateTimeKind.Local).AddTicks(4453), ModifiedDate = new DateTime(2024, 5, 2, 14, 46, 47, 828, DateTimeKind.Local).AddTicks(6106),
ResumeId = 1 ResumeId = 1
}); });
}); });

View File

@ -66,7 +66,12 @@
{ {
get get
{ {
return Projects.Select(p => p.Category).Distinct().ToList(); var projectCategories = new List<string>();
foreach (var project in Projects)
{
projectCategories.AddRange(project.Categories);
}
return projectCategories.Distinct().ToList();
} }
} }
} }

View File

@ -10,7 +10,7 @@
public string Description { get; set; } = string.Empty; public string Description { get; set; } = string.Empty;
public string Category { get; set; } = string.Empty; public string Categories { get; set; } = string.Empty;
public string PostUrl { get; set; } = string.Empty; public string PostUrl { get; set; } = string.Empty;

View File

@ -10,7 +10,7 @@ namespace PortBlog.API.Models
public string Description { get; set; } = string.Empty; public string Description { get; set; } = string.Empty;
public string Category { get; set; } = string.Empty; public ICollection<string> Categories { get; set; } = new List<string>();
public ICollection<string> Roles { get; set; } = new List<string>(); public ICollection<string> Roles { get; set; } = new List<string>();

View File

@ -8,7 +8,12 @@
{ {
get get
{ {
return Projects.Select(p => p.Category).Distinct().ToList(); var projectCategories = new List<string>();
foreach(var project in Projects)
{
projectCategories.AddRange(project.Categories);
}
return projectCategories.Distinct().ToList();
} }
} }
} }

View File

@ -145,6 +145,18 @@
<member name="M:PortBlog.API.Migrations.MessageChanges.BuildTargetModel(Microsoft.EntityFrameworkCore.ModelBuilder)"> <member name="M:PortBlog.API.Migrations.MessageChanges.BuildTargetModel(Microsoft.EntityFrameworkCore.ModelBuilder)">
<inheritdoc /> <inheritdoc />
</member> </member>
<member name="T:PortBlog.API.Migrations.ProjectAndPostChanges">
<inheritdoc />
</member>
<member name="M:PortBlog.API.Migrations.ProjectAndPostChanges.Up(Microsoft.EntityFrameworkCore.Migrations.MigrationBuilder)">
<inheritdoc />
</member>
<member name="M:PortBlog.API.Migrations.ProjectAndPostChanges.Down(Microsoft.EntityFrameworkCore.Migrations.MigrationBuilder)">
<inheritdoc />
</member>
<member name="M:PortBlog.API.Migrations.ProjectAndPostChanges.BuildTargetModel(Microsoft.EntityFrameworkCore.ModelBuilder)">
<inheritdoc />
</member>
<member name="T:PortBlog.API.Models.CvDto"> <member name="T:PortBlog.API.Models.CvDto">
<summary> <summary>
CV details of the candidate CV details of the candidate

View File

@ -16,7 +16,7 @@ namespace PortBlog.API.Profiles
) )
.ForMember( .ForMember(
dest => dest.ModifiedDate, dest => dest.ModifiedDate,
opts => opts.MapFrom(src => src.CreatedDate != null ? src.ModifiedDate.Value.ToString("MMM dd, yyyy") : string.Empty) opts => opts.MapFrom(src => src.ModifiedDate != null ? src.ModifiedDate.Value.ToString("MMM dd, yyyy") : string.Empty)
); );
} }
} }

View File

@ -41,18 +41,24 @@ namespace PortBlog.API.Profiles
.ForMember .ForMember
( (
dest => dest.Roles, dest => dest.Roles,
src => src.MapFrom(src => !string.IsNullOrEmpty(src.Roles) ? src.Roles.Split(",", StringSplitOptions.RemoveEmptyEntries).ToList() : new List<string>()) src => src.MapFrom(src => !string.IsNullOrEmpty(src.Roles) ? src.Roles.Split(",", StringSplitOptions.RemoveEmptyEntries | StringSplitOptions.TrimEntries).ToList() : new List<string>())
) )
.ForMember .ForMember
( (
dest => dest.Responsibilities, dest => dest.Responsibilities,
src => src.MapFrom(src => !string.IsNullOrEmpty(src.Responsibilities) ? src.Responsibilities.Split(",", StringSplitOptions.RemoveEmptyEntries).ToList() : new List<string>()) src => src.MapFrom(src => !string.IsNullOrEmpty(src.Responsibilities) ? src.Responsibilities.Split(",", StringSplitOptions.RemoveEmptyEntries | StringSplitOptions.TrimEntries).ToList() : new List<string>())
) )
.ForMember .ForMember
( (
dest => dest.TechnologiesUsed, dest => dest.TechnologiesUsed,
src => src.MapFrom(src => !string.IsNullOrEmpty(src.TechnologiesUsed) ? src.TechnologiesUsed.Split(",", StringSplitOptions.RemoveEmptyEntries).ToList() : new List<string>()) src => src.MapFrom(src => !string.IsNullOrEmpty(src.TechnologiesUsed) ? src.TechnologiesUsed.Split(",", StringSplitOptions.RemoveEmptyEntries | StringSplitOptions.TrimEntries).ToList() : new List<string>())
)
.ForMember
(
dest => dest.Categories,
src => src.MapFrom(src => !string.IsNullOrEmpty(src.Categories) ? src.Categories.Split(",", StringSplitOptions.TrimEntries | StringSplitOptions.TrimEntries).ToList() : new List<string>())
); );
CreateMap<Skill, SkillDto>(); CreateMap<Skill, SkillDto>();
CreateMap<SocialLinks, SocialLinksDto>() CreateMap<SocialLinks, SocialLinksDto>()
.ForMember .ForMember