Exemple #1
0
        public static IServiceGoalDto MapServiceGoalToDto(ServiceGoal src)
        {
            if (src == null)
            {
                return(null);
            }

            return(new ServiceGoalDto
            {
                Id = src.Id,
                Description = src.Description,
                ServiceId = src.ServiceId,
                Name = src.Name,
                Type = src.Type,
                StartDate = src.StartDate,
                EndDate = src.EndDate
            });
        }
 public void Start()
 {
     audio        = GetComponent <AudioSource>();
     service_goal = GameObject.Find("ScoreManager").GetComponent <ServiceGoal>();
 }