예제 #1
0
    public string retWorkerWithSkill(string name)
    {
        List <Workers> w = mongoDbase.getWorkerWithSkillS(name);

        if (w != null)
        {
            return(JsonConvert.SerializeObject(w));
        }
        else
        {
            return("Worker not found!");
        }
    }