PortBlog.API/PortBlog.API/DbContexts/Seed/InitialData.cs
Bangara Raju Kottedi 4c6f9a4ba8 Changes:
Database Migration, Repositories, Automapper, Logger, StaticFiles
2024-04-26 02:34:47 +05:30

378 lines
14 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using PortBlog.API.Entities;
using System.Net.NetworkInformation;
namespace PortBlog.API.DbContexts.Seed
{
public static class InitialData
{
public static Candidate GetCandidateData()
{
return new Candidate()
{
CandidateId = 1,
FirstName = "Bangara Raju",
LastName = "Kottedi",
Phone = "+91 9441212187",
Email = "bangararaju.kottedi@gmail.com",
Dob = new DateTime(1992, 5, 6),
Gender = "Male",
Address = "Samalkot, Andhra Pradesh, India",
};
}
public static Resume GetResumeData()
{
return new Resume()
{
ResumeId = 1,
CandidateId = 1,
Title = "Full Stack Developer",
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.",
Order = 1
};
}
public static SocialLinks GetSocialLinksData()
{
return new SocialLinks()
{
Id = 1,
BlogUrl = "https://bangararaju.kottedi.in/blog",
Linkedin = "https://in.linkedin.com/in/bangara-raju-kottedi-299072109",
GitHub = "https://github.com/rajukottedi",
ResumeId = 1
};
}
public static List<Hobby> GetHobbyData()
{
return new List<Hobby>()
{
new Hobby()
{
HobbyId = 1,
Order = 1,
Name = "Web Development",
Description = "Crafting Professional-Quality Websites with Precision",
Icon = "fa-square-terminal",
ResumeId = 1
},
new Hobby()
{
HobbyId = 2,
Order = 2,
Name = "Automation",
Description = "Streamlining and Simplifying Complex Tasks through Automation",
Icon = "fa-robot",
ResumeId = 1
},
new Hobby()
{
HobbyId = 3,
Order = 3,
Name = "Blogging",
Description = "Sharing the knowledge and insights Ive gathered along my journey",
Icon = "fa-typewriter",
ResumeId = 1
},
new Hobby()
{
HobbyId = 4,
Order = 4,
Name = "Gardening",
Description = "Cultivating Nature's Beauty and Bounty",
Icon = "fa-seedling",
ResumeId = 1
}
};
}
public static List<Academic> GetAcademicData()
{
return new List<Academic>
{
new Academic()
{
AcademicId = 1,
Institution = "Pragati Little Public School",
StartYear = 2006,
EndYear = 2007,
Degree = "High School",
ResumeId = 1
},
new Academic()
{
AcademicId = 2,
Institution = "Sri Chaitanya Junior College",
StartYear = 2007,
EndYear = 2009,
Degree = "Intermediate",
DegreeSpecialization = "MPC",
ResumeId = 1
},
new Academic()
{
AcademicId = 3,
Institution = "Kakinada Institute of Technology & Science",
StartYear = 2009,
EndYear = 2013,
Degree = "BTech",
DegreeSpecialization = "ECE",
ResumeId = 1
}
};
}
public static List<Skill> GetSkillData()
{
return new List<Skill>
{
new Skill()
{
SkillId = 1,
Name = "Web Development",
ProficiencyLevel = 80,
ResumeId = 1
},
new Skill()
{
SkillId = 2,
Name = "Web Development",
ProficiencyLevel = 80,
ResumeId = 1
},
new Skill()
{
SkillId = 3,
Name = "Web Development",
ProficiencyLevel = 80,
ResumeId = 1
},
new Skill()
{
SkillId = 4,
Name = "Web Development",
ProficiencyLevel = 80,
ResumeId = 1
},
new Skill()
{
SkillId= 5,
Name = "Web Development",
ProficiencyLevel = 80,
ResumeId = 1
}
};
}
public static List<Project> GetProjectData()
{
return new List<Project>
{
new Project()
{
ProjectId = 1,
Name = "Transfora (Business Process Management)",
Description = "Business Process Management",
Category = "Web Development",
ImagePath = "",
TechnologiesUsed = ".NET, Angular",
Responsibilities = "Developing, Testing, Support",
Roles = "Coding, Reviewing, Testing",
ResumeId = 1
},
new Project()
{
ProjectId = 2,
Name = "Transfora (Business Process Management)",
Description = "Business Process Management",
Category = "Web Development",
ImagePath = "",
TechnologiesUsed = ".NET, Angular",
Responsibilities = "Developing, Testing, Support",
Roles = "Coding, Reviewing, Testing",
ResumeId = 1
},
new Project()
{
ProjectId = 3,
Name = "Transfora (Business Process Management)",
Description = "Business Process Management",
Category = "Web Development",
ImagePath = "",
TechnologiesUsed = ".NET, Angular",
Responsibilities = "Developing, Testing, Support",
Roles = "Coding, Reviewing, Testing",
ResumeId = 1
}
};
}
public static Blog GetBlogData()
{
return new Blog()
{
BlogUrl = "https://bangararaju.kottedi.in/blog",
Name = "Engineer's Odyssey",
Description = "Your Hub for Tech, DIY, and Innovation"
};
}
public static List<Post> GetPostsData()
{
return new List<Post>
{
new Post()
{
PostId = 1,
Slug = "hello-world",
Title = "Hello World",
Description = "Hello World",
Category = "Welcome",
PostUrl = "https://bangararaju.kottedi.in/blog/hello-world",
CreatedDate = DateTime.Now,
BlogUrl = "https://bangararaju.kottedi.in/blog"
},
new Post()
{
PostId = 2,
Slug = "hello-world",
Title = "Hello World",
Description = "Hello World",
Category = "Welcome",
PostUrl = "https://bangararaju.kottedi.in/blog/hello-world",
CreatedDate = DateTime.Now,
BlogUrl = "https://bangararaju.kottedi.in/blog"
},
new Post()
{
PostId = 3,
Slug = "hello-world",
Title = "Hello World",
Description = "Hello World",
Category = "Welcome",
PostUrl = "https://bangararaju.kottedi.in/blog/hello-world",
CreatedDate = DateTime.Now,
BlogUrl = "https://bangararaju.kottedi.in/blog",
}
};
}
public static List<Experience> GetExperiencesData()
{
return new List<Experience>
{
new Experience()
{
ExperienceId = 1,
Title = "Jr. Software Engineer",
Company = "Agility E Services",
Description = "",
Location = "Hyderabad",
StartDate = new DateTime(2015, 9, 2),
EndDate = new DateTime(2016, 4, 25),
ResumeId = 1
},
new Experience()
{
ExperienceId = 2,
Title = "Web Developer",
Company = "Agility",
Description = "",
Location = "Kuwait",
StartDate = new DateTime(2016, 5, 12),
EndDate = new DateTime(2022, 1, 31),
ResumeId = 1
},
new Experience()
{
ExperienceId = 3,
Title = "Senior Web Developer",
Company = "Agility",
Description = "",
Location = "Kuwait",
StartDate = new DateTime(2022, 2, 1),
EndDate = new DateTime(2022, 10, 31),
ResumeId = 1
},
new Experience()
{
ExperienceId = 4,
Title = "Technology Specialist",
Company = "Agility E Services",
Description = "",
Location = "Hyderabad",
StartDate = new DateTime(2022, 11, 4),
EndDate = new DateTime(2024, 4, 12),
ResumeId = 1
},
};
}
public static List<ExperienceDetails> GetExperienceDetailsData()
{
return new List<ExperienceDetails>
{
new ExperienceDetails()
{
Id = 1,
ExperienceId = 1,
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.",
Order = 1
},
new ExperienceDetails()
{
Id = 2,
ExperienceId = 1,
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.",
Order = 2
},
new ExperienceDetails()
{
Id = 3,
ExperienceId = 2,
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.",
Order = 1
},
new ExperienceDetails()
{
Id = 4,
ExperienceId = 2,
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.",
Order = 2
},
new ExperienceDetails()
{
Id = 5,
ExperienceId = 3,
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.",
Order = 1
},
new ExperienceDetails()
{
Id = 6,
ExperienceId = 3,
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.",
Order = 2
},
new ExperienceDetails()
{
Id = 7,
ExperienceId = 4,
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.",
Order = 1
},
new ExperienceDetails()
{
Id = 8,
ExperienceId = 4,
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.",
Order = 2
},
};
}
}
}