Skip to content
View dominikalk's full-sized avatar

Block or report dominikalk

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
dominikalk/readme.md
using System;
using System.Collections.Generic;
using Microsoft.AspNetCore.Mvc;

public class DominikService : IDominikService
{
  private readonly ILogger<DominikService> _logger;
  
  private readonly string name = "Dominik Alkhovik";
  private readonly string role = "Full-Stack Developer at Spike Global";
  private readonly string degree = "First Class Computer Science BSc with Honours";
  private readonly string university = "Cardiff University";
  private readonly List<string> stack = new List<string>()
    {"ASP.NET", "EF Core", "MSTest", "SignalR", "React", 
      "React Native", "Redux", "SASS", "TailwindCSS", "GraphQL"};
  private readonly List<string> languages = new List<string>()
    {"C#", "TypeScript", "JavaScript", "Java", "Python", "HTML", "CSS"};
  
  public DominikService(ILogger<DominikService> logger)
  {
    _logger = logger;
  }
  
  public string GetCoverLetter()
  {
    string introduction = $"Hi, my name is {name} and I am a {role}. ";
    string studies = $"I have a {degree} from {university}. ";
    string stackInfo = $"I mainly work with {GetSeparatedList(stack)} ";
    string languagesInfo = $"and I'm also proficient with {GetSeparatedList(languages)}. ";
    
    _logger.LogInformation("Cover Letter Generated");
    return introduction   studies   stackInfo   languagesInfo;
  }
  
  private string GetSeparatedList(List<string> items)
  {
    if (items.Count == 0)
    {
      return "";
    } else if (items.Count == 1)
    {
      return items[0];
    }
    
    string last = items[items.Count - 1];
    items.RemoveAt(items.Count - 1);
    return String.Join(", ", items)   $" and {last}";
  }
  
  public IActionResult GetNegatives()
  {
    return NotFound();
  } 
}

Pinned Loading

  1. BackpackingAPI BackpackingAPI Public

    ASP.NET Core 8 Network-Based Backpacking API

    C# 2

  2. ProjectOutlaw ProjectOutlaw Public

    Unity - Peer-Peer Online Multiplayer Game

    C# 1

  3. EvolutionSim EvolutionSim Public

    Unity - An evolution simulator made for my A Level course work

    C#